[lug] Tape always rewinds after mt command

John Hernandez John.Hernandez at noaa.gov
Mon Jan 5 14:17:23 MST 2004


On Solaris, the 'n' for no rewind is at the end of the device filename 
eg. /dev/rmt/0n versus /dev/rmt/0

William Petty wrote:
> Thanks that worked.  I never knew that the nst device existed.  On our 
> Sun machines,
> the mt commands have always worked, although they are rmt devices.  
> Maybe those
> are no-rewinde by default.
> 
> 
> At 06:53 PM 1/3/2004 -0500, you wrote:
> 
>> 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
>>
>> _______________________________________________
>> Web Page:  http://lug.boulder.co.us
>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 

-- 

  |  John Hernandez - NOAA Boulder NOC - 303-497-6392
  |  Mailstop R/OM62. 325 Broadway, Boulder, CO 80305
  |  PGP Public Key ID: 586A7E23




More information about the LUG mailing list