"John R. Jackson" wrote:
>
> >How do I read a file on the holding disk?
>
> Amrestore knows how to read from the holding disk directly.
>
I have tried
amrestore -h -p /scsi/DynaMo/linux/20001212/bacchus._usr_share.1 | dd
bs=32k skip=1 of=test.6
but test.6 seems to be neither a tar file, nor a gzipped one. Although
it contains something, I cannot read it with tar, or tar -tzf.
> >But when I copy the file to a MO-disk (2048 bytes per sector) ...
>
> Huh? Did you copy it with the Amanda header or not?
>
I did just a simple cp. I suppose the header (the first 32K) was copied
too.
> So are you saying you just did a cp of the holding disk file to the
> MO disk?
Exactly.
> If so, then the MO must have a normal Unix file system on it
> and the dd should have worked, assuming the cp worked. I'd start by
> comparing the original and the copy, first by length (ls -l) and then
> by bytes (cmp).
>
I will check this. The MO disk does have an ext2 filesystem. But I
flushed the files to tape, so I will have to wait until the end of the
next AMANDA run in order to find some files on the holding disk to do
the test.
--
Regards
Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net