Re: tar: /dev/st0: Warning: Cannot seek: Illegal seek

From: Scott Hemphill (hemphill_at_hemphills.net)
Date: 08/30/04


Date: 30 Aug 2004 11:41:44 -0400

Magnus Warker <wagner@abwesend.de> writes:

> after upgrading several packages with apt I have problems backing up data to
> tape (DDS-3) with the "verify" option of tar (tar cvfW). After writing the
> data, at the point where tar should rewind the tape and start the verify
> pass, I get the message above.
>
> Could it be the tape media that causes this error? Unfortunately, I have no
> other media for testing. What can I do to get things verified?

-W works fine on my system (DDS-3 tape on a DDS-4 drive). My scripts don't
use it, though. I just rewind the tape and read it again.

My scripts look something like:

  mt -f /dev/nst0 rewind
  mt -f /dev/nst0 setblk 32768
  mt -f /dev/nst0 compression 1
  tar -clf /dev/nst0 --atime-preserve -b 64 -C $DIR . >> logfile 2>&1
  mt -f /dev/nst0 rewind
  tar -tvvf /dev/nst0 -b 64 >> logfile 2>&1

Scott

-- 
Scott Hemphill	hemphill@alumni.caltech.edu
"This isn't flying.  This is falling, with style."  -- Buzz Lightyear


Relevant Pages

  • Re: VCR wont fully rewind tapes
    ... It won't rewind a tape all the way to the beginning. ... causes it to rewind a little bit more but it still stops before it ... alloy lower head drum, which over the years causes the friction between the ...
    (sci.electronics.repair)
  • Closing /dev/st0 return EIO error, /dev/nst0 not
    ... I have a old tape streamer Exabyte EXB-8200. ... /dev/st0 (rewind on close),i get the error EIO on closeand the ... cat: /proc/scsi: Is a directory ...
    (comp.os.linux.setup)
  • Closing /dev/st0 return EIO error, /dev/nst0 not
    ... I have a old tape streamer Exabyte EXB-8200. ... /dev/st0 (rewind on close),i get the error EIO on closeand the ... cat: /proc/scsi: Is a directory ...
    (comp.os.linux.misc)
  • Closing /dev/st0 return EIO error, /dev/nst0 not
    ... I have a old tape streamer Exabyte EXB-8200. ... /dev/st0 (rewind on close),i get the error EIO on closeand the ... cat: /proc/scsi: Is a directory ...
    (comp.os.linux.hardware)
  • Re: Sony TC-758 reel to reel wont play
    ... There are 5 buttons on the right of the machine which control stop, play, fast ... reverse play and rewind. ... playback heads don't move the tape forward so it will play. ... If you take off the cover over the heads, there are two "poles" that the cover ...
    (sci.electronics.repair)