IBM TS2340 User Guide - Page 400
Querying Primary and Alternate Path Configurations (Control Path Failover)
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 400 highlights
HP-UX - Tape Utility Program (tapeutil) Warning: The drive is currently using FIPS code. Do you want to continue with downloading new drive code? [y/n]: Enter n to exit without downloading new code; otherwise, enter y to continue with the download code procedure. The following examples should help to demonstrate and clarify the command-line usage of the tapeutil program. For all examples, substitute the actual value of the special file associated with the target device. v To query the serial number of the device: tapeutil -f /dev/rmt/0m -o qsn -v v To request inquiry data from the device: tapeutil -f /dev/rmt/0m -o inq -v v To request inquiry page data from the device: tapeutil -f /dev/rmt/0m -o inq -t 1 -x 0x03 -v v To request log sense page from the device: tapeutil -f /dev/rmt/0m -o log -x 0x00 -v v To request mode page from the device: tapeutil -f /dev/rmt/0m -o mod -x 0x02 -v v To move a cartridge from cell 32 to the tape drive (16) for TotalStorage 3590: tapeutil -f /dev/rmt/4chng -o mo -s 32 -d 16 -v v To write one hundred 64K blocks of data to the tape device: tapeutil -f /dev/rmt/0mn -w 1 -o wri -b 65535 -n 1 -m 100 -v v To write two file marks to the tape device: tapeutil -f /dev/rmt/0mn -w 1 -o eof -c 2 -v v To rewind the tape device: tapeutil -f /dev/rmt/0mn -o rew -v v To read one hundred 64K blocks of data from the tape device: tapeutil -f /dev/rmt/0mn -o rea -b 65535 -n 1 -m 100 -v v To report the tape density: tapeutil -f /dev/rmt/0mn -o den -v v To prevent tape removal from the tape drive: tapeutil -f /dev/rmt/0mn -o rem -x 1 -v v To allow tape removal from the tape drive: tapeutil -f /dev/rmt/0mn -o rem -x 2 -v v To read the element status with the drive ID: tapeutil -f /dev/rmt/4chng -o dvc -v v To output the inventory information into a file: tapeutil -f /dev/rmt/4chng -o inv -t 1 > inv.txt Querying Primary and Alternate Path Configurations (Control Path Failover) You can display the primary and alternate path configuration for all devices by running the ioscan command, as explained in section "Determine the Device Hardware Path for IBM Tape Drives" on page 60. You can also display the primary and alternate paths configuration for any device by running the following command: # tapeutil -f /dev/rmt/Xchng -o phs -v 382 IBM Tape Device Drivers Installation and User's Guide