United States-English |
|
|
HP-UX Reference > Mmc(1M)HP-UX 11i Version 3: February 2007 |
|
NAMEmc — media changer manipulation utility SYNOPSISmc [-p device] [-a num] [-q] [-c src_element_type dest_element_type] mc [-p device] [-b 0|1] [-l 0|1] [-e element_type] mc [-p device] [-n drive_number] [-r element_type] mc [-p device] -s element_type num -d element_type num mc [-h |-?] DESCRIPTIONThe mc utility provides users with a command-line interface to send media manipulation commands to an autoloader or media changer device. It takes "element types" as arguments to most of the options. The valid element types (element_types) are:
An example of a Data Transfer element is the embedded tape drive(s) of the autoloader. An example of an Import/Export element is the slot(s) by which an item of the media may be inserted or removed from the autoloader. An example of a Medium Transport element is the robotic picker assembly of the autoloader. An example of a Storage element is the media slot(s) of the autoloader. Please see examples below for usage. Optionsmc recognizes the following options and arguments:
DIAGNOSTICSERROR: 0x5 Illegal Request: 0x3b0d Medium Destination element full
ERROR: No such file or directory
EXAMPLESUsing a DDS-2 autoloader with a six-cartridge magazine as an example: To see the status of the autoloader's Data Transfer and Storage element types: mc -r DS The following shows an example of output from the above command. The output indicates that there is an item of media in slot 2 (ST_slot_2), an item of media in the embedded drive (DT_slot_1), and all the other slots are empty.
To move media from an embedded drive to slot 5 and then move media from slot 2 to an embedded drive: mc -s D1 -d S5 -s S2 -d D1 To check if a move from a Data Transfer element to a Storage element is possible: mc -c DS The following shows an example of output from the above command. The output indicates that moves from Data Transfer element types to Storage element types are valid. DT->ST: TRUE WARNINGSNote for all HP DDS autoloaders: After the mc command has been used for the first time, the autoloader will enter into random mode. Once in random mode, all front panel button features are disabled except for the Eject Button. To go back to stacker mode, the magazine must be ejected and then reinserted. Note for some autoloaders or libraries: The media must be unloaded using the mt offline command prior to using the mc command. DEPENDENCIESThe mc command supports all HP-supported devices that comply with the SCSI-2 Medium Changer command specification. Either the stape, estape, or sctl passthrough driver must be configured. See scsi_tape(7) and scsi_ctl(7). |
Printable version | ||
|