Re: SCSI tape

Steven Roberts (strobert@ata-sd.com)
Mon, 29 Mar 1999 10:50:10 -0800


"Richard B. Johnson" wrote:
>
> Hello!
> Don't know when it started, but recent versions of linux have a problem
> writing the last file to a tape when using `tar` (yes I know about
> --block-compress when compressing).
>
> I threw away a lot of 8 mm tapes that were good until I found this out.
>
> `cd / ; tar -clf /dev/st0` will complete okay. However....
> `cd /new/file/system ; tar -xf /dev/st0` will fail with 'sense data extra
> data not valid' and a SCSI bus reset, on the last file in the directory
> tree, no matter how large the tree.
>
> Doing `cp /dev/zero /dev/st0` works, and `cp /dev/st0 /dev/null` also
> works with no errors.
>
> A work-around of `mkdir /z ; `cp /dev/zero /z/foo ^C` to make a dummy
> last directory with a junk file in it works to be able to recover
> an otherwise perfect directory tree. I believe the EOF isn't written
> anymore.
>
> Cheers,
> Dick Johnson
hmmm.... scsi tape works fine here.

I have a archive 250MB at work running 2.2.3 using /dev/st0
and all is fine. (InitIO based card)

At home I have a AIWA NS20 running of a Adaptec 1542CF using /dev/nst0
and everything runs fine.

both using tar's (tar -cvf /dev/tape roughly)

Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/