Hi there,
I struggling with amrestore over here. It refuses to look further
on the tape than the first image:
Firt of all I checked on which tape I should find the image:
[root@clergy /root]# amadmin DailySet1 find clergy cederic
Scanning /home/holding...
20010507: found Amanda directory.
20010508: found Amanda directory.
date host disk lv tape or file file status
2001-07-05 clergy /home/backup/cederic 0 DailySet100 9 OK
[root@clergy /root]#
but amrestore cannot find this image number 9:
[root@clergy /root]# amrestore /dev/nosst0 clergy cederic
amrestore: 0: skipping start of tape: date 20010705 label DailySet100
amrestore: 1: skipping thales._home_avdc.20010705.0
[root@clergy /root]#
While I know it is there, and in perfect shape:
[root@clergy /root]# mt rewind
[root@clergy /root]# mt fsf 9
[root@clergy /root]# dd if=/dev/nosst0 bs=32k skip=1 | tar -tzvf -
drwxr-xr-x root/root 50 2001-07-04 20:30:46 ./
-rw------- root/root 829440 2001-07-04 20:30:46 ./etc.tar
-rw------- root/root 8704000 2001-07-04 20:30:58 ./henkv.tar
-rw------- root/root 10240 2001-07-04 20:30:46 ./kdg.tar
-rw------- root/root 22507520 2001-07-04 20:30:35 ./mail.tar
475+0 records in
475+0 records out
-rw-r--r-- root/root 575 2001-04-26 16:44:43 ./makefile
[root@clergy /root]#
Anyway it never gets past the first image, while there are
at least 10! :
[root@clergy /root]# amrestore /dev/nosst0 not.a.host
amrestore: 0: skipping start of tape: date 20010705 label DailySet100
amrestore: 1: skipping thales._home_avdc.20010705.0
[root@clergy /root]#
More info:
I'm using Amanda version 2.4.2p2 on Redhat 7.1 (Pentium)
The tape is OnStream DI-30, with the osst driver, using ide-scsi
Any ideas?
Regards,
Henk