lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: SCSI tape
    "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/

    \
     
     \ /
      Last update: 2005-03-22 13:51    [W:6.920 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site