On Fri, 18 Jun 1999, Keith G. Murphy wrote:
> I am using an AIWA TD-8001 drive (well, the "naked" OEM equivalent;
> can't recall the model number) with a 2.0.36 Linux kernel. It uses TR4
> tapes.
>
> It seems to be working perfectly, except when I put, say 3 files on the
> tape, then try to overwrite the second one (giving two files on the
> tape) using an 'mt -f /dev/nst0 fsf 1' before I write the file to tape,
> then writing my file with afio. I would have *thought* that this would
> work: it would write the file just after the first file mark, and append
> two file marks at the end.
>
> Is this sort of thing just unsupported by the Linux SCSI tape driver?
The SCSI tape driver allows writing anywhere. The drive decides whether it
is OK to write or not.
...
> ----
> Jun 18 13:43:05 debserver kernel: st0: Error with sense data: Current
> error st09
> :00: sns = f0 5
> Jun 18 13:43:05 debserver kernel: ASC=90 ASCQ= 1
The sense code 5 is "illegal request" which means that your drive has
rejected a SCSI command (probably did not allow writing at that point).
My list of the ASC ASCQ codes does not contain the values printed (old
list ;-)
Kai