IBM TS2340 User Guide - Page 410
Service Aid Subcommands, SMCIOC_ELEMENT_INFO
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 410 highlights
Linux - Tape Utility Program (IBMtapeutil) devids This subcommand issues the SCSI Read Element Status command to the device with the DVCID option for all drive elements and displays the element status information. elementinfo This subcommand displays the information returned from the SMCIOC_ELEMENT_INFO ioctl command that contains the number of and the address of the first of each element type. exchange Source Dest1 Dest2 This subcommand is not supported for TotalStorage devices. inventory This subcommand issues the SCSI Read Element Status command for each element type and displays the element status information. No device identifier information is obtained. mount [Slot] This subcommand mounts a tape from the specified slot address into the drive or from the first full slot into the drive if the slot is omitted. For example: # Mount cartridge from slot 3 IBMtapeutil -f /dev/IBMchanger0 mount 3 # Mount cartridge from first full slot IBMtapeutil -f /dev/IBMchanger0 mount move Source Destination This subcommand issues the SCSI Move Medium command using the source and destination addresses specified. The element addresses can be obtained using the elementinfo subcommand. For example: # Get slot and drive addresses IBMtapeutil -f /dev/IBMchanger0 elementinfo # Move cartridge in slot 20 to drive at address 16 IBMtapeutil -f /dev/IBMchanger0 move 20 16 position Destination This subcommand issues the SCSI Position to Element command using the destination specified. For example: # Position to slot at address 20 IBMtapeutil -f /dev/IBMchanger0 position 20 prevent This subcommand is not supported for TotalStorage medium changer devices. unmount [Slot] This subcommand moves a tape from the drive to the specified slot address or the first empty one if slot is omitted. For example: # Move tape from drive to slot address 4 (tape is already unloaded) IBMtapeutil -f /dev/IBMchanger0 unmount 4 # Unload tape and move to the first empty slot IBMtapeutil -f /dev/IBMchanger0 unmount Service Aid Subcommands The following service aid subcommands are available for the devices. 392 IBM Tape Device Drivers Installation and User's Guide