Hello,

Linux mt/mtx query - I'm not familiar enough with them to know what I'm looking at. I've just acquired a Quantum Scalar i80 with two LTO5 drives which is connected to the Ubuntu 10 server via SAS (a LSI Fusion-MPT HBA). At this precise moment I'm struggling to get mtx to give a response on the i80, yet the OS appears to be seeing it (there is also single LTO4 drive built in to the HP box):

# lsscsi -g
[0:0:0:0] disk ATA GB0160EAPRR HPG2 /dev/sda /dev/sg0
[3:0:0:0] tape HP Ultrium 5-SCSI Z3CZ /dev/st0 /dev/sg2
[3:0:0:1] mediumx QUANTUM Scalar i40-i80 130G /dev/sch0 /dev/sg3
[3:0:1:0] tape HP Ultrium 5-SCSI Z3CZ /dev/st1 /dev/sg4
[5:0:0:0] disk ATA Hitachi HDS5C302 ML6O /dev/sdb /dev/sg1
[7:0:0:0] tape HP Ultrium 4-SCSI U52D /dev/st2 /dev/sg5

All well and good. But... running "mtx -f /dev/sg3 inquiry" just hangs.

Running mtx inquiry on the two LTO5 drives produces what looks like sensible output (should the Attached Changer API line say "No" though?):
# mtx -f /dev/sg4 inquiry
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 5-SCSI '
Revision: 'Z3CZ'
Attached Changer API: No

# mtx -f /dev/sg2 inquiry
Product Type: Tape Drive
Vendor ID: 'HP '
Product ID: 'Ultrium 5-SCSI '
Revision: 'Z3CZ'
Attached Changer API: No

And running mt on sg3 produces:
# mt -f /dev/sg3 status
/dev/sg3: Device or resource busy

Nothing appears in /var/log/messages.

Any advice where to look?

Alcina