[lug] Tape always rewinds after mt command

Ed Hill ed at eh3.com
Sat Jan 3 16:53:29 MST 2004


On Sat, 2004-01-03 at 18:36, William Petty wrote:
> I am using Suse 8.1 and needed to read in an old tar tape that was created as
> multiple files.  My problem is, when I use mt to skip to the second file, 
> it does so,
> pauses for a few seconds, and then rewinds back to the beginning of the tape
> before returning the command prompt.  So, any tar command always reads the
> first file on the tape (Which also rewinds when done).  The tape drive is an
> Exabyte 8500 8mm and the SCSI controller is an LSI (Symbios) 53875.  All
> drivers are default from the 8.1 installation.
> Thanks for any info you can provide.


Try the non-rewind tape device:

  /dev/st0  <== "scsi tape 0" device
  /dev/nst0 <== "non-rewind scsi tape 0" device

using:

  mt -f /dev/nst0 ...

hth,
Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20040103/c8c2698a/attachment.pgp>


More information about the LUG mailing list