[NTLUG:Discuss] OT: mtx

fredjame fredjame at fredjame.cnc.net
Tue May 25 09:41:56 CDT 2004


How can I tell when the tape is ready to use?  After the tape loads, it 
"calibrates", and so there is a time lag before it is ready to use.  
Details of mtx inquiry and mtx status commands shown below.  Thanks in 
advance for any help you may be able to offer.
Regards
Fred James

[whereami]$ /sbin/mtx -f /dev/sg0 inquiry
Product Type: Tape Drive
Vendor ID: 'QUANTUM '
Product ID: 'DLT7000         '
Revision: '1E46'
Attached Changer: No
[whereami]$ /sbin/mtx -f /dev/sg1 inquiry
Product Type: Medium Changer
Vendor ID: 'OVERLAND'
Product ID: 'LXB             '
Revision: '0326'
Attached Changer: No
[whereami]$

[whereami]$ /sbin/mtx -f /dev/sg0 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Not Ready
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 04
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed
[whereami]$ /sbin/mtx -f /dev/sg1 status
  Storage Changer /dev/sg1:1 Drives, 10 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded)
      Storage Element 1:Empty
      Storage Element 2:Full
      Storage Element 3:Full
      Storage Element 4:Full
      Storage Element 5:Full
      Storage Element 6:Full
      Storage Element 7:Full
      Storage Element 8:Full
      Storage Element 9:Full
      Storage Element 10:Full
[whereami]$

-- 
...we are fellow passengers...





More information about the Discuss mailing list