public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Timo Maier <tam@diotec.com>
To: cygwin@cygwin.com
Subject: mt LTO 6 Unknown type of tape device AND online status not correct
Date: Fri, 22 Jun 2018 17:47:00 -0000	[thread overview]
Message-ID: <5B2CECB2.3080101@diotec.com> (raw)

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

             reply	other threads:[~2018-06-22 12:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-22 17:47 Timo Maier [this message]
2018-06-25 12:08 ` Corinna Vinschen
2018-06-28 18:04   ` Timo Maier
2018-06-29 22:48     ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B2CECB2.3080101@diotec.com \
    --to=tam@diotec.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).