Amanda-Users

Re: Odd amrecover and amverify issue in 2.5.0b2

2006-03-06 15:36:23
Subject: Re: Odd amrecover and amverify issue in 2.5.0b2
From: Anthony Valentine <avalentine AT sbsalaska DOT com>
To: Ian Turner <ian AT zmanda DOT com>, Amanda Mailing List <amanda-users AT amanda DOT org>
Date: Mon, 06 Mar 2006 11:29:49 -0900
Ian Turner wrote:

Anthony,

On Thursday 02 March 2006 21:30, Anthony Valentine wrote:
When I run amverify, I get errors at the beginning and the end of the
status mail, however it shows the complete tape listing in the middle.
Here it the output, edited for length (let me know if you want to see
the entire output):

Two questions:

1) Did you rewind the tape before running amverify? It will not rewind the tape itself. 2) Did Amanda hit the end of the tape when it was being written, or did it use the tape only partially?

My guess is that you did not rewind the tape (if not, do so, and try it again), and that the tape was completely used; in that case, the last file on the tape will show up as short.

Cheers,

--Ian

Thanks for your reply!

I tested another amverify, this time doing a rewind first, and got the same errors. Also, I am only backing up 10GB to a 40/80GB tape, so I don't think that I am running out of space.

As another test, I created a new config using vtapes, to eliminate any rewind and tape size problems. I backed up a small file system (/home at 1.2GB) to a vtape on a volume with 24GB free. The dump seemed to run fine, but again I got errors on amverify and amrecover.

The amrecover errors are the same, in that it complains that the files aren't on the tape, yet it extracts them fine. The amverify errors are different, but that may just be because of the vtape instead of a real tape. See the output below.

Could this be a tar problem?  I am using 1.15.1 per the Amanda Wiki.  While the 
Amanda docs say to use 1.13.25, I cannot get that version to compile under AIX 
4.3.3, so I went with the 1.15.1 version.

Any other suggestions?


Amverify output:

        Tapes:  gemini-03
Errors found: gemini-03 ():
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore:   0: reached end of information
        ** No header
        0+0 in
        0+0 out
        gemini-03 ():
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        gemini-03 ():
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        gemini-03 ():
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        gemini-03 ():
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        gemini-03 ():
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        
        amverify gemini
        Fri Mar  3 13:19:47 AST 2006
        
        Loading current slot...
        Using device file:/u01/vtapes/gemini
        Volume gemini-03, Date 20060303
        Checked sbs._home.20060303.0
        ** Error detected ()
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore:   0: reached end of information
        ** No header
        0+0 in
        0+0 out
        ** Error detected ()
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        ** Error detected ()
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        ** Error detected ()
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        ** Error detected ()
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        ** Error detected ()
        amrestore: missing file header block
        amrestore: WARNING: not at start of tape, file numbers will be offset
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore: missing file header block
        amrestore:  10: reached end of information
        ** No header
        0+0 in
        0+0 out
        Too many errors.