mt LTO 6 Unknown type of tape device AND online status not correct

Timo Maier tam@diotec.com
Fri Jun 22 17:47:00 GMT 2018


Hello,

the following is done with: mt V2.5.2, Corinna Vinschen, Aug 26 2013

I have a Quantum LTO 6 Tape Drive (QUANTUM_ULTRIUM-HH6) which works in general with the latest cygwin64. I can use mt to rewind or eject and tar can write and read the tape.

Before starting to write I want to check if the tape is ready with "status", but no matter if the tape is in or not, status always says ONLINE.

Can anyone help, please? Thanks in advance.

***************

C:\Tools\cygwin64\bin>mt -f /dev/nst0 status 3

drive type       :       01 (Unknown type of tape device)
tape capacity    : 2328305664 KB          remaining        : 1651876953 KB
current file     :        0             active partition :        0
current block    :        0             cur logical block:        0
General status bits on (410b0000):
  BOT ONLINE IM_REP_EN HW_ECC HW_COMP
min block size   :        1             max block size   :  1048576
def block size   :    65536             cur block size   :        0
density code     :       00 (default)

Drive(r) Capabilities:
----------------------
fixed length blocks        : yes        var length blocks          : yes
set block size             : yes        fixed partitioning         : yes
select partitioning        : yes        initiator partitioning     : yes
get logical blockno        : yes        logical block spacing      : yes
get absolute blockno       : no         absolute block spacing     : no
logical block immediate    : yes        absolute block immediate   : no
relative block spacing     : yes        backward spacing           : yes
immediate rewind           : yes        fast EOM spacing           : yes
immediate spacing          : no         write marks immediate      : yes
filemark spacing           : yes        write filemarks            : yes
write long filemarks       : no         write short filemarks      : no
report setmarks            : no         setmark spacing            : no
write setmarks             : no         set report setmarks        : no
sequential filemarks       : no         sequential setmarks        : no
load and unload            : yes        un/load immediate          : yes
lock and unlock            : yes        un/lock immediate          : no
tape retension             : no         retension immediate        : no
erase on bop only          : no         erase immediately          : yes
long erase                 : yes        short erase                : yes
sw ejects media            : yes        report write protection    : yes
report EOT warn size       : no         set EOT warn size          : no
data padding               : no         set data padding           : no
returns capacity           : yes        returns remaining          : yes
hw error correction        : yes        set hw error correction    : no
hw compression             : yes        set compression            : yes
set comp. on bop only      : no         report cleaning request    : yes

C:\Tools\cygwin64\bin>mt -f /dev/nst0 status

Unknown type of tape device tape drive:
File number=0, block number=0, partition=0
Tape block size 0 bytes. Density code 0x00 (default).
Soft error count since last status=0
General status bits on (410b0000):
  BOT ONLINE IM_REP_EN

C:\Tools\cygwin64\bin>mt -f /dev/nst0 rewoffl

(Tape rewinds and is being ejected)

C:\Tools\cygwin64\bin>mt -f /dev/nst0 status

Unknown type of tape device tape drive:
File number=-1, block number=-1, partition=0
Tape block size 0 bytes. Density code 0x00 (default).
Soft error count since last status=0
General status bits on (10b0000):
  ONLINE IM_REP_EN


-- 
Timo


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list