Re: amverify looping
2005-06-03 11:26:09
Hi,
Jean-Louis Martineau --> amanda-users (2005-06-03 10:10:19 -0400):
> Could you try the attached patch.
thanks. After applying it amverify doesn't loop endlessly anymore:
[ ... successful checks ... ]
Checked host1._opt.20050603.1
** Error detected (host1._opt.20050603.1)
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore: 0: restoring host1._opt.20050603.1
gzip: truncated input
Error 32 (Broken pipe) offset 10485760+32768, wrote 0
amrestore: pipe reader has quit in middle of file.
Level 1 dump of /opt on host1:/dev/rwd0m
Label: none
64+0 in
64+0 out
[ ... same message six times ... ]
Too many errors.
Rewinding...
Errors found:
DAILY02 (host1._opt.20050603.1):
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore: 0: restoring host1._opt.20050603.1
gzip: truncated input
Error 32 (Broken pipe) offset 10485760+32768, wrote 0
amrestore: pipe reader has quit in middle of file.
Level 1 dump of /opt on host1:/dev/rwd0m
Label: none
64+0 in
64+0 out
[ ... same message six times ... ]
> If it doesn't work, try the following command:
> mt -f <dev> rewind
> mt -f <dev> fsf 12
> dd if=<dev> bs=32k count=1
>
> Send me the output of the dd command.
I'm using the file driver and chg-disk. Would you like to see the first
32k of the dump file in question?
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
|
|
|