[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar backup ok but restore errors w/ scsi dat dds2



Hi Frank,

Yes, but you didn't give tar an output block size.
shinzon:~# find /usr/kbmosas/std | buffer | tar zcvf /dev/st0 -T -
Try:
mt -f /dev/st0 setblk 32768
find /usr/kbmosas/std | tar zcvf /dev/st0 -T -b 64 -
Ok - here's what I got:
ran this -
shinzon:~# mt -f /dev/st0 setblk 32768
shinzon:~# find /usr/kbmosas/std | tar zcvbf 64 /dev/st0 -T -

tar finished without error  110 files, 1.2MB
Now, read it back and BAM:

shinzon:~# tar tzvbf 64 /dev/st0
incomplete literal tree
drwxrws--- root/users        0 2005-08-25 10:10:35 usr/kbmosas/std/
-rw-rw---- root/users     7516 2005-08-25 10:31:52 usr/kbmosas/std/_amort
-rw-rw---- root/users     5872 2005-08-25 10:31:52 usr/kbmosas/std/_ascii
-rw-rw---- root/users     2127 2005-08-25 10:31:52 usr/kbmosas/std/_browse
-rw-rw---- root/users     6494 2005-08-25 10:31:52 usr/kbmosas/std/_bundle
-rw-rw---- root/users     8624 2005-08-25 10:31:52 usr/kbmosas/std/_calc

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

That way, the tape drive and tar both use the same blocksize.

Frank

Good try Frank, thanks for the input - I really think I'm dealing with a hardware issue.

Ralph Eagle
Kubinski Business Systems


Reply to: