Hi,
Exact same problem here. If I restore manually (dd, tar) everything works
fine, but not with amrecover.
However, when the file I want to restore is in the *first* file on tape
amrecover works ok. And yes, I *am* using the non-rewinding device.....
Any clues?
I am also using a DI-30, via ide-scsi emulation, but it seems unlikely
that the tape drive causes the problem as manual seek and restore works ok.
Thanks,
Paul
On Sun, Jan 20, 2002 at 06:33:31PM -0800, Ashley wrote:
>
> Hi list. This is my first entry.
>
> I am happy to report good success getting amanda-2.4.2p2 working with my
> OnStream DI-30 using the ide-scsi module and firmware update to 1.09.
> I can make dumps and read them. I can restore with
> amrestore. But I can't get amrecover to work for me. Surely I'm doing
> something stupid and simple.
>
>
> >From /etc/amanda/test2/amanda.conf:
> # tapetypes
>
> # OnStream DI-30
> # curtesy Arthur van Dongen
> define tapetype DI30 {
> comment "OnStream DI-30"
> length 14430 mbytes
> filemark 32 kbytes
> speed 970 kps
> }
>
> define dumptype nocomp-test {
> global
> comment "test dump without compression, no /etc/dumpdates recording"
> compress none
> record no
> index yes
> priority medium
> }
>
>
> amanda@ishi:/etc/amanda/test2> cat disklist
> localhost /root nocomp-test
>
>
>
> amanda@ishi:/etc/amanda/test2> amrmtape -v test2 Test2000
> amrmtape: preserving original database in curinfo.orig.29081 (exported).
> Discarding Host: localhost, Disk: /root, Level: 0
> amanda@ishi:/etc/amanda/test2> amlabel -f test2 Test2000
> rewinding, reading label Test2000
> rewinding, writing label Test2000, checking label, done.
> amanda@ishi:/etc/amanda/test2> amdump test2
> amanda@ishi:/etc/amanda/test2> logout
>
> ishi:/tmp/amanda # zcat /var/lib/amanda/Test2/index/localhost/_root/20020120_0.gz |
>head
> /
> /root/
> /root/.exrc
> /root/.gnupg/
> /root/.gnupg/suse_build_key
> /root/.gnupg/pubring.gpg
> /root/.xinitrc
> /root/.bash_history
> /root/bin/
> /root/loadlin/
>
>
> ishi:~ # amrecover test2
> AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
> amrecover: Unexpected server end of file
>
>
> ishi:/tmp/amanda # cat amrecover.20020120175452.debug
> amrecover: debug 1 pid 30504 ruid 0 euid 0 start time Sun Jan 20 17:54:52 2002
> amrecover: stream_client: connected to 127.0.0.1.10082
> amrecover: stream_client: our side is 0.0.0.0.532
> ishi:/tmp/amanda # cat amindexd.20020120175452.debug
> amindexd: debug 1 pid 30505 ruid 37 euid 37 start time Sun Jan 20 17:54:52 2002
> amindexd: version 2.4.2p2
>
>
>
>
>
> At first the amindexd log complained of no amada.conf and disklist files in
> /etc/amanda/amidxtape/ Why was it looking there instead of in
> /etc/amanda/test2/ ?
>
> I created this directory and copied my test2 configs into it.
> I have no idea if this was appropriate or not.
> I can't find the docs on the index server, so I'm quite mystified.
>
> Any clues?
>
>
>
> --
> -ashley
>
> One of these days I'm going to completely organize my life.
--
======-------- Paul E. Schuurmans MESA Consulting B.V.
=======--------- P.O. Box 112
=======--------- [EMAIL PROTECTED] 2630 AC Nootdorp
__=======-------------____________________________________ The Netherlands ____