[Gllug] [OTish] SureStore DAT24
Xander D Harkness
xander at harkness.co.uk
Wed Jul 9 10:06:42 UTC 2003
On Wed, 2003-07-09 at 10:26, Taylor James wrote:
> Simon A. Boggis wrote:
> >
> > AFAIK you are "supposed" to use the non-rewinding device, /dev/nst0
> > rather than st0, for this kind of job - try that too?
> >
>
> Yep, tried that. No such device.
>
> >> deathstar:/home/james# tar cvpf /dev/st0 /mnt/mp3/ [snip]
> >> tar: /dev/st0: Wrote only 0 of 10240 bytes
try installing amanda and running tapetype it tries a full write and
analysis of your tape and drive.
Kind regards
Xander
> > ^^^^^^^^^^^^
> >
> > So it actually didn't write anything ...
>
> Well, yes it did. If I do a tar -tf /dev/st0 I get the list of files that
> tar claimed it was writing to the drive, then I get a bunch of errors and
> tar exits with the error: too many errors(!). So tar is working to a
> point,it just stops arbitarily for no apparent reason. 10240 is just the
> block size tar uses by default (20 * 512). I've tried changing the block
> size as some newsgroups have suggested with no success.
>
> >
> > ... and given this message, I'm guessing at wrong tape device (see
> > above) or failure to set up properly - try rewinding the tape before
> > beginning: mt -f /dev/nst0 rewind
> > and checking the status - may take a little while to settle: mt -f
> > /dev/nst0 status
> >
>
> I've erased the tape, rewound the tape, all successfully. I've done a 'mt -f
> /dev/st0 status' and the output looks normal. I'll post the output of that
> later when I've got access to the drive.
>
> > I assume you've done the usual and carefully checked SCSI IDs and
> > termination (some devices are capable of terminating the chain, so you
> > don't want to do it twice or not at all)? Seems unlikely it is that
> > from your messages, but always worth a second look.
> >
>
> I'm not really sure about this. How can I tell if the drive is terminating
> the chain or not (RTFM)? I just plugged it right in like I would have done
> an IDE device. Is there something else I have to do? I admit I know nothing
> as far as SCSI goes.
>
> >
> > The fact you can erase and such is encouraging - I'd keep fiddling -
> > best of luck.
> >
>
> I will keep fiddling, thanks for taking the time to reply.
>
> > Simon
>
> --
> james
>
>
>
>
>
> The information contained in this e-mail is intended for the recipient or
> entity to whom it is addressed. It may contain confidential information that
> is exempt from disclosure by law and if you are not the intended recipient,
> you must not copy, distribute or take any act in reliance on it. If you have
> received this e-mail in error, please notify the sender immediately and
> delete from your system.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list