+---------------------------------------------------------------+
| IBM SCSI TAPE & MEDIUM CHANGER UTILITY PROGRAM |
+-----------------------------+---------------------------------+
| GENERAL COMMANDS | BASIC SCSI COMMANDS |
| 1: Open Device | 9: Test Unit Ready |
| 2: Close Device | 10: Inquiry |
| D: Device Type | 11: Request Sense |
| M: Menu Refresh | 12: Log Sense Page |
| Q: Quit Program | 13: Mode Page |
+-----------------------------+---------------------------------+
| SERVICE COMMANDS | MEDIUM CHANGER COMMANDS |
| 3: Query Serial Number | 14: Reserve On Close |
| 4: Query Microcode Level | 15: Release |
| 5: Force Dump | 16: Prevent/allow Media Removal|
| 6: Store Dump | |
| 7: Download Microcode | |
| 8: Query Driver Level | |
+-----------------------------+---------------------------------+
| TAPE DRIVE COMMANDS |
| 26: Read Data 40: Set Parameter |
| 27: Write Data 41: Sync Buffer |
| 28: Write File Mark 42: Display Message |
| 29: Erase Tape 43: Report Tape Density |
| 30: Rewind 44: Check Device Type |
| 31: Retension 45: Get Record Size |
| 32: Offline 46: Set Record Size |
| 33: Load/Unload Tape 47: Get Device Status |
| 34: Forward Space File 48: Get Device Info |
| 35: Backward Space File 49: Get Media Info |
| 36: Forward Space Record 50: Get Position |
| 37: Backward Space Record 51: Set Position |
| 38: Locate End of Data 52: Set MT/ST Mode |
| 39: Get Parameter |
+---------------------------------------------------------------+
Figure 89: TAPEUTIL Program menu – HP-UX system
Command-line mode
If command-line parameters are provided when the tapeutil program is started, the command-line mode
is started. For each command-line execution of the program, the device is first opened. The specific
command is issued, and the device is then closed. The program can be driven from within a shell script if
wanted. Results of the operation are displayed only when run in verbose mode. No information is
displayed when not in verbose mode. This operation is useful for quiet shell script implementations. A
completion code, as defined in
/usr/include/sys/errno.h
for the operation that is requested is
always returned from the program upon exit (in both verbose and quiet mode).
Command-line commands and syntax
The usage of the tapeutil program in command-line mode is as follows:
tapeutil -f device -o
operation [options]
where device is the name of the tape device special file (for example:
/dev/rmt/1m
) and operation is
one of the values that are listed here. The device special file and the operation are required. The specific
options associated with a particular operation are indicated in Table 163 on page 270, Table 164 on page
271, Table 165 on page 271 and Table 166 on page 271. Parameters that are enclosed in square brackets
are optional. All others are required.
Table 163: Service commands and syntax
Service Commands
Syntax
Query Serial Number
tapeutil -f f.-o qsn [-w w][-v]
Query Microcode Level
tapeutil -ff.-o qmc [-w w][-v]
270 IBM 3592 TS1140, TS1150, TS1155, and TS1160 Tape Drives: Maintenance Information