Re: tar: /dev/st0: Warning: Cannot seek: Illegal seek
From: Scott Hemphill (hemphill_at_hemphills.net)
Date: 08/30/04
- Next message: Abdullah Ramazanoglu: "Re: a strange problem with modules 2/4... debian kernel 2.6.7-1-386"
- Previous message: John-Paul Stewart: "Re: Help - Memory Leak Issue with SCSI Stack on Linux"
- In reply to: Magnus Warker: "tar: /dev/st0: Warning: Cannot seek: Illegal seek"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Abdullah Ramazanoglu: "Re: a strange problem with modules 2/4... debian kernel 2.6.7-1-386"
- Previous message: John-Paul Stewart: "Re: Help - Memory Leak Issue with SCSI Stack on Linux"
- In reply to: Magnus Warker: "tar: /dev/st0: Warning: Cannot seek: Illegal seek"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|