tar to DDS4 tape - small capacity
Gaspar Bakos <gbakos <at> cfa.harvard.edu>
2003-11-28 18:03:11 GMT
Hi,
I encounter a problem when writing to DDS4 tapes under Linux: I can write
far less (sometimes 10Gb) than the nominal capacity (20Gb) in uncompressed
mode. I was wondering if anyone has a clue where the error could be.
Basically the tar exits as:
-rw-rw-r-- hatuser/hatuser 5694575 2003-11-10 11:15:01 6-20031107/15641.fits.fgz
tar: /dev/nst0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
$ echo $?
2
After the error occurs, I don't see EOT or EOD with "mt status". But I
have the suspicion that the tape might be at the end. Unfortunately, if
I eject it to check what is going on, it automatically rewinds itself.
This might be related to
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=79027
Any advice regarding the following (blocksizes, the way I archive, etc.)
are welcome.
Thanks
Gaspar
Software
--------
Linux redhat 7.3
kernel 2.4.18
(Continue reading)