Hello,

Please let the gods of Amrecover hear my request!

Here is the list of events that I do to get to the certain point of error.

$ amrecover config
AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
220 yohko AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2002-05-17)
200 Working date set to 2002-05-17.
200 Config set to exa.
200 Dump host set to yohko.
Can't determine disk and mount point from $CWD
amrecover> sethost hostname.ucr.edu
200 Dump host set to hostname.ucr.edu.
amrecover> setdisk /dev/hda1
Scanning /dumps/amanda...
200 Disk set to /dev/hda1.
amrecover> ls
...
file
file
file
file
....
so this part i know that the index file is working.
Now I am going to attempt to 'add' a file.

amrecover> add file
Added /vmlinuz.old
amrecover> extract

Extracting files using tape drive /dev/nst0 on host localhost.
The following tapes are needed: EXA22 (yes the tape is loaded!)

Restoring files into directory /root

Continue? [Y/n]:Y

Load tape EXA22 now
Continue? [Y/n]:Y

amrecover: error reading tape: Connection reset by peer
extract_list - child returned non-zero status: 1
Continue? [Y/n]:Y

and voila.. what the heck!?

The tape is loaded, all is well.. until I try to restore.

Am I supposed to fast forward the tape to the right index? Or does
Amrecover take care of that for me? No where can I find in the man pages
that suggest that I should do any sort of mt -f /dev/nst0 fsf 6(arbitrary
#) or something.. just the usual mt -f /dev/nst0 rewind.

Help.. I started to use TAR because of active file system errors that dump
was giving me. But I WILL change how my users work on the servers if TAR
is a POS!

So just to recap:
The right tape is in the right drive.(CHECK)
The tapedev is /dev/nst0 and is correctly pointed(CHECK)
The configuration file has all of its settings correct.(CHECK)
I ran an amrestore interactively to make sure that my dumps were working
and that my tape wasn't bad. (CHECK)
Tons of space on the dump disk (CHECK)
/etc/hosts.allow allows amindexd to run (CHECK)
I have access to the tapes by 'cat'ing the tape devices (CHECK)

Help. (uncheck)


Thanks.

Tanniel Simonian

Reply via email to