http://www.estinc.com/downloads/unsupported/
Latest revision of Leonard Zubkoff's 'mtx' program to deal with BIG
multi-drive tape libraries. As I said in my 'oops!' message earlier, I had to
change the Linux SCSI command dispatch from the SCSI_IOCTL_SEND_COMMAND ioctl
to the SCSI Generic mechanism, because SCSI_IOCTL_SEND_COMMAND bummed out on
big requests needed for big libraries. I have now done so, and have also
tested the barcode (volume tag) support on an Exabyte 220 tape library with 21
tape elements (20 cartridges and a cleaning cartridge). Found I had an
off-by-one index error, oops! Fixed. (But that was the only bug in the volume
tag support -- amazing, considering that at the time I had no loader with bar
code reader and was programming off of the raw T-10 spec).
Still haven't managed to test the dual-drive stuff. My 220 only has one drive,
sigh. I'll have to see if I can get the loan of another drive for the beast
(or a two-drive model) from where we borrowed this one.
Unfortunately, it still appears to be broken when talking to a Seagate DDS4
autoloader :-(. 'mtx' classic works fine there, but 'mtx-ng' doesn't, sigh. So
I guess I need to do some more fiddling around here, maybe try without the
'barcode' flag set in the CDB, maybe try that 8-byte trick again, etc... so
this is obviously NOT production-ready code, though if you have a big tape
library, it works where the old 'mtx' doesn't (i.e., works fine on an Exabyte
220 with 21 tape elements and dual drives, the old 'mtx' barfs).
--
Eric Lee Green [EMAIL PROTECTED]
Software Engineer Visit our Web page:
Enhanced Software Technologies, Inc. http://www.estinc.com/
(602) 470-1115 voice (602) 470-1116 fax