mt and tar fail on LTO-5 drives

bartels bartels@mailme.ath.cx
Sat Aug 17 18:35:00 GMT 2013


Hello People,

I have here two SAS connected LTO-5 drives: one IBM and one HP.

Both drives work work fine, but sadly mt does not.
The size reported by mt is a meager 35 GB, instead of the expected 1.5TB

I have tried both an older 32 bit and the 'current' 64 bit cygwin: same result.

Writing to tape works fine with tar, but the tape is quickly considered 'full'.
Is there any hope of fixing this? LTO-6 is already out there.

Thanks
- Bartels


# IBM ULT3580+HH5 SCSI

$ mt -f /dev/nst0 status 3
drive type       :       56 (STK 9840)
tape capacity    : 37108736 KB          remaining        : 37093376 KB
current file     :        0             active partition :        0
current block    :        0             cur logical block:        0
General status bits on (410b8000):
  BOT ONLINE IM_REP_EN CLN HW_ECC HW_COMP
min block size   :        1             max block size   : 1048576
def block size   :    65536             cur block size :        0
density code     :       58 (unknown)

Drive(r) Capabilities:
----------------------
fixed length blocks        : yes        var length blocks          : yes
set block size             : yes        fixed partitioning         : no
select partitioning        : no         initiator partitioning     : no
get logical blockno        : yes        logical block spacing      : yes
get absolute blockno       : yes        absolute block spacing     : yes
logical block immediate    : no         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            : no         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        : no         set hw error correction    : no
hw compression             : yes        set compression            : yes
set comp. on bop only      : no         report cleaning request    : yes


# HP Ultrium-5

$ mt -f /dev/nst0 status 3
drive type       :       56 (STK 9840)
tape capacity    : 37351424 KB          remaining        : 37351424 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   :        2             max block size :    65536
def block size   :    65536             cur block size :        0
density code     :       58 (unknown)

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       : yes        absolute block spacing     : yes
logical block immediate    : yes        absolute block immediate   : yes
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    : no




--
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