Introduction
Architecture
Operation
Install
Update History
Support
CASPUR Tape Dispatcher

Site-specific tape mounter command, /bin/tapemounter.

This command is intended for manipulation of ALL media changers defined in the tape dispatcher configuration file. It may be anything - a binary, a shell or a perl script - wrapped around existing hardware-specific mounter commands, such as mtx, mcutil, acsls etc.

The command should return "0" in case of success, "1" in case of failure, and be able to accept these 4 command-line arguments:

  • -L <library> - specifies library identifier
  • -D <drive> - specifies drive identifier
  • -T <vid> - specifies the VID of tape to be mounted
  • -U - "unload" flag

Examples of usage:

  • /bin/tapemounter -L STK2 -D 0,1,1 -T CAS098
    (loads a tape with VID=CAS098 on drive "0,1,1" inside library STK2)
  • /bin/tapemounter -L IBM1 -D 3 -U
    (attempts to unload the drive "3" inside library IBM1)

A sample implementation of this command able to handle two different libraries is included in downloadable distro.