I keep getting the following error when I try to recover a file with 
amrecover:

--------------------------------------------------------------------
 tcsh> /usr/local/sbin/amrecover -C WeeklySet1 -d /dev/nst1 -s redbaron.physics.s
c.edu
AMRECOVER Version 2.4.2p1. Contacting server on redbaron.physics.sc.edu ...
220 redbaron AMANDA index server (2.4.2) ready.
200 Access OK
Setting restore date to today (2001-03-16)
200 Working date set to 2001-03-16.
200 Config set to WeeklySet1.
501 No index records for host: beauty.psc.sc.edu. Invalid?
Trying beauty.psc.sc.edu ...
501 No index records for host: beauty.psc.sc.edu. Invalid?
Trying beauty ...
200 Dump host set to beauty.
Can't determine disk and mount point from $CWD
amrecover> setdisk /var/spool/mail
Warning: no log files found for tape WeeklySet111 written    0-00-00
Warning: could not open holding dir /jekyl17/amanda: No such file or directory
200 Disk set to /var/spool/mail.
amrecover> ls
2001-03-15 .
2001-03-15 adamt
2001-03-15 amanda
2001-03-15 copty
2001-03-15 kothari
2001-03-15 nussinov
2001-03-15 singh
2001-03-15 sudheer
2001-03-15 yumiceva
amrecover> add adamt
Added /adamt
amrecover> settape redbaron.physics.sc.edu:/dev/nst1
Using tape /dev/nst1 from server redbaron.physics.sc.edu.
amrecover> extract
 
Extracting files using tape drive /dev/nst1 on host redbaron.physics.sc.edu.
The following tapes are needed: WeeklySet112
 
Restoring files into directory /tmp/amanda
Continue? [Y/n]: Y
 
Load tape WeeklySet112 now
Continue? [Y/n]: Y
./adamt
tar: Unexpected EOF on archive file
extract_list - child returned non-zero status: 3
Continue? [Y/n]: Y
amrecover>
----------------------------------------------------------------------

The amidxtape.debug file is

----------------------------------------------------------------------
amidxtaped: debug 1 pid 5970 ruid 422 euid 422 start time Fri Mar 16 11:32:12 20
01
amidxtaped: version 2.4.2
> SECURITY USER root
bsd security: remote host beauty.psc.sc.edu user root local user amanda
amandahosts security check passed
> 6
amrestore_nargs=6
> -p
> /dev/nst1
> beauty
> ^/var/spool/mail$
> 20010315
Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "/dev/nst1"
argv[4] = "beauty"
argv[5] = "^/var/spool/mail$"
argv[6] = "20010315"
amrestore:   0: skipping start of tape: date 20010315 label WeeklySet112
amrestore:   1: skipping beauty._etc.20010315.0
amrestore:   2: restoring beauty._var_spool_mail.20010315.0
amrestore: read error: Input/output error
amidxtaped: amrestore terminated normally with status: 2
Rewinding tape: done
amidxtaped: pid 5970 finish time Fri Mar 16 11:33:44 2001
---------------------------------------------------------------------------

and the amindexd.debug file is

---------------------------------------------------------------------------
amindexd: debug 1 pid 5966 ruid 422 euid 422 start time Fri Mar 16 11:31:04 2001
amindexd: version 2.4.2
< 220 redbaron AMANDA index server (2.4.2) ready.
> SECURITY USER root
bsd security: remote host beauty.psc.sc.edu user root local user amanda
amandahosts security check passed
< 200 Access OK
> DATE 2001-03-16
< 200 Working date set to 2001-03-16.
> SCNF WeeklySet1
< 200 Config set to WeeklySet1.
> HOST beauty.psc.sc.edu
< 501 No index records for host: beauty.psc.sc.edu. Invalid?
> HOST beauty.psc.sc.edu
< 501 No index records for host: beauty.psc.sc.edu. Invalid?
> HOST beauty
< 200 Dump host set to beauty.
> DISK /
< 501 No index records for disk: /. Invalid?
> DISK root_domain#root
< 501 No index records for disk: root_domain#root. Invalid?
> DISK /var/spool/mail
- 2001-03-15 0 WeeklySet112 2
- 2001-02-23 0 WeeklySet110 2
- 2001-02-20 0 WeeklySet109 2
< 200 Disk set to /var/spool/mail.
Uncompress command: /bin/gzip -dc 
'/usr/adm/amanda/index/beauty/_var_spool_mail/20010315_0.gz' 2>/dev/null | sort > 
'/usr/adm/amanda/index/beauty/_var_spool_mail/20010315_0'
f /usr/adm/amanda/index/beauty/_var_spool_mail/20010315_0
< 200 "/" is a valid directory
> OISD /
f /usr/adm/amanda/index/beauty/_var_spool_mail/20010315_0
< 200 "/" is a valid directory
> OLSD /
< 200- Opaque list of /
< 201- 2001-03-15 0 WeeklySet112     /
< 201- 2001-03-15 0 WeeklySet112     /adamt
< 201- 2001-03-15 0 WeeklySet112     /amanda
< 201- 2001-03-15 0 WeeklySet112     /copty
< 201- 2001-03-15 0 WeeklySet112     /kothari
< 201- 2001-03-15 0 WeeklySet112     /nussinov
< 201- 2001-03-15 0 WeeklySet112     /root
< 201- 2001-03-15 0 WeeklySet112     /singh
< 201- 2001-03-15 0 WeeklySet112     /sudheer
< 201- 2001-03-15 0 WeeklySet112     /yumiceva
< 200  Opaque list of / 
---------------------------------------------------------------------------

We have had a problem with ffs not working so we compiled with the broken ffs option 
but are still getting the same error message.  Any ideas?

Bill Campbell
email:  [EMAIL PROTECTED]
homepage:  http://hep.physics.sc.edu/~billc/





Reply via email to