SLUG Mailing List Archives
[SLUG] Tape drive read error at end of archive
- To: slug@xxxxxxxxxxx
- Subject: [SLUG] Tape drive read error at end of archive
- From: John Clarke <johnc+slug@xxxxxxxxxxx>
- Date: Thu, 9 Sep 2004 13:15:10 +1000
- User-agent: Mutt/188.8.131.52i
I recently came into possession of a DDS-2 12 tape autoloader, and I've
got the loader part working fine, thanks to mtx (http://mtx.badtux.net/).
I can write to the tapes, and read/verify what's written. When tar
gets to the end of the archive though, it says:
tar: /dev/st0: Cannot read: Input/output error
several times then exits. This only happens at the end of the archive,
which is not the end of the tape -- the tapes are 4GB and I'm only
storing around 600MB for now. It's not one tape either, I've tried half
a dozen tapes with the same result. I've also tried erasing the tapes
before writing, but that didn't change anything.
My tar command is 'tar -cpWf /dev/st0 .'
I'm guessing that it's something to do with the archive not being a
multiple of the tape block size. I've tried using tar's -B switch but
it doesn't make any difference.
Does anyone have any suggestions for the cause and, more importantly,
how to fix it?
I'll defer to most anyone on the subject of German. The last time I
tried my German out on my sister (who speaks it fluently), her reaction
was, "You sound like a Turkish taxi driver."
-- Matt Roberds