SCSI Media Changer Control Program

This is a major overhaul of Leonard Zubkoff's 'mtx' program. Note that Leonard is no longer maintaining 'mtx' and has asked me to handle further enhancements of the program, so please bother me (Eric Lee Green) or the MTX mailing list with any problems. This version has the following features:

Notes: You may wish to use MTX 1.1 (ftp://ftp.estinc.com/pub/unsupported/mtx-1.1.tar.gz for smaller autochangers because:

Source Code

The current source code is: RPMs may be available from the following place: A .spec file is now included in the 'mtx' distribution for building your own RPM's.

Note that RPMs are courtesy of Kenneth Porter, who should be contacted regarding rpm-related problems.

The most stable source code is:

Always check the directory ftp://ftp.estinc.com/pub/unsupported/ before believing anything that you read here.

Known Bugs And Limitations

Future

mtx 1.2 is now in maintenance mode. No new features will be added unless necessary for the proper operation of some device, though I may twiddle the output format very slightly in order to make it more easily parsable by shell scripts. I will attempt to keep such changes backward-compatible.

mtx 2.0 will be a major overhaul of the mtx user interface. Some things envisioned for mtx 2.0:

  1. Use autoloader's own numbering scheme, rather than the virtual numbering scheme, and tag each number with what kind of element it is. This will allow eventually supporting things like, e.g., multiple robot arms.
  2. Make the output format even more shell-script friendly.
  3. zap the 'load' and 'unload' commands, have a single 'transfer' command with source and destination element numbers. ('next' with optional drive number might still be supported since it is useful for many people).
  4. Better support for invertable media. In particular, 'next' in conjunction with the 'invert' bit should be able to issue the proper mode sense command to note what side is in the drive, and if it's side one, should be able to eject to its source slot then flip it and put side two into the drive.
  5. Better support for import/export ports. This, alas, will require some research, since nobody seems to do import/export ports the same on any two libraries that they offer :-(.
  6. A generic SCSI tape control program that uses the mtxl.c library, so that your shell scripts will work the same whether they are on Linux, FreeBSD, Solaris, or IRIX, without having to figure out whether to use 'mtx' or 'tapectl' or etc to eject a tape and if so, what arguments to use to eject it.
  7. A TCL/TK GUI for controlling tape libraries and possibly for controlling tape drives. Any volunteers to write this?!

Support

See Also:


Eric Lee Green
Last modified: Tue Nov 28 08:55:26 MST 2000