Hello everyone!
I am having an odd issue with amverify and amrecover and am wondering if
anyone can tell me why?
Using 2.5.0b2 (upgraded from 2.4.2), the amdump seems to run fine,
without any errors in the status e-mail, but I am getting some strange
output when running amverify and amrecover.
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):
Tapes: Gemini-17
Errors found:
Gemini-17 ():
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-17 ():
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
Gemini-17 ():
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
Gemini-17 ():
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
Gemini-17 ():
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
Gemini-17 ():
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
amverify Gemini
Mon Feb 27 08:45:48 AST 2006
Loading current slot...
Using device /dev/rmt0.1
Volume Gemini-17, Date 20060227
Checked sbsdp._gemini_disk4_lspol.20060227.0
Checked sbs._gemini_disk4_LOS.20060227.1
Checked sbsdc._var_spool_cron_crontabs.20060227.1
[snip]
Checked sbs._gemini_disk4_stbkup.20060227.0
Checked sbsdc._gemini_disk4_stbkup.20060227.0
Checked sbsdp._gemini_disk3_archive.20060227.1
** 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: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
** Error detected ()
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
** Error detected ()
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
** Error detected ()
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
** Error detected ()
amrestore: error reading file header: There is an input or output error.
** No header
0+0 in
0+0 out
Too many errors.
When I run amrecover I get errors saying that the files aren't found in
the archive however, all of the files are extracted and have correct
md5sums. Here is the ouput, edited for length (let me know if you want
to see the entire output):
amrecover> add *
Added /typescript
Added /timtest
Added /stu
[snip]
Added /APS060SPOL484
Added /APS015SP
Added /AGETTLP
Added dir / at date 2006-02-27
amrecover> extract
Extracting files using tape drive /dev/rmt0.1 on host sbs.
The following tapes are needed: Gemini-17
Restoring files into directory /u01/amtemp
Continue [?/Y/n]? y
Extracting files using tape drive /dev/rmt0.1 on host sbs.
Load tape Gemini-17 now
Continue [?/Y/n/s/t]? y
The following tapes are needed: Gemini-17
./
./backup/
./AGETTLP
./APS015SP
[snip]
./backup/ARS140RPRT.0530
./backup/ARS140RPRT.0550
./backup/ARS140RPRT.0570
tar: .: Not found in archive
tar: ./AGETTLP: Not found in archive
tar: ./APS015SP: Not found in archive
[snip]
tar: ./timtest: Not found in archive
tar: ./typescript: Not found in archive
tar: Error exit delayed from previous errors
amrecover: Extractor child exited with status 2
extract_list - child returned non-zero status: 1
Continue [?/Y/n/r]? ?
Enter "y"es to continue, "n"o to stop or "r"etry this tape
Continue [?/Y/n/r]? y
amrecover> quit
200 Good bye.
Thanks!
--
Anthony Valentine
Asst. I.T. Manager
Spenard Builders Supply
UNIX was not designed to stop you from doing stupid things, because that would
also stop you from doing clever things.