---------------------- General Commands: --------------------------
1: Open a Device 7: Request Sense
2: Close a Device 8: Log Sense Page
3: Inquiry 9: Mode Sense Page
4: Test Unit Ready 10: Switch Tape/Changer Device
5: Reserve Device 11: Create Special Files
6: Release Device 12: Query Driver Version
Q: Quit IBMtapeutil
---------------------- Tape Commands: ----------------------------
20: Rewind 33: Set Block size
21: Forward Space Filemarks 34: Retension Tape
22: Backward Space Filemarks 35: Query/Set Tape Position
23: Forward Space Records 36: Query Tape Status
24: Backward Space Records 37: Load Tape
25: FSFM 38: Unload Tape
26: BSFM 39: Lock Tape Drive Door
27: Space to End of Data 40: Unlock Tape Drive Door
28: Read and Write Tests 41: Take Tape Offline
29: Write Filemarks 42: Enable/Disable Compression
30: Read or Write Files 43: Flush Driver's Buffer
31: Erase 44: Self Test
32: Reset Drive 45: Display Message
---------------------- IBMtape Commands: -------------------------
46: Query Sense 52: Locate Tape Position
47: Query Inquiry 53: Read Tape Position
48: Query/Set Tape Paramters 54: Query Mtdevice Number
49: Query/Set Tape Position 55: Synchronize Buffers
50: Query/Set MT/ST Mode 56: List Tape Filemarks
51: Report Density Support
-------------------- Service Aid Commands: -----------------------
70: Dump Device 72: Load Ucode
71: Force Dump 73: Reset Drive
------------------------------------------------------------------
99: Back To Main Menu
Enter Selection
------------------------------------------------------------------
Figure 92: TAPEUTIL Program Commands menu - Linux environment (Interactive mode command). This
example assumes that your device is attached at
/dev.IBMtape0
and that your device has no cartridge
in the drive.
The following example opens the tape drive device, loads a writable scratch tape, completes a short
write/read, and unloads the tape drive. Because the data on the tape is overwritten, use only a cartridge
that your customer agreed to provide for the conversion to a scratch tape. Any data that was on the tape
when your customer provided it to you is permanently deleted when you run this procedure.
Note: When the Hit<Enter> to continue... message appears or when you are prompted to enter
information, follow the instructions, and press Enter. Verify any information that the utility displays by
using the appropriate hardware manual.
1. Open a Linux window.
2. Mount a writable scratch cartridge in the drive. For non-library drives, manually load the scratch
cartridge into the drive.
3. Enter IBMtapeutil. A menu displays.
4. Enter 1 (Open a Device).
5. Enter
/dev/IBMtape0
when prompted for the device name. If the device you are testing is not an
IBMtape0, enter the actual device number.
6. Enter 1 (Read/Write).
7. Enter 3 (Inquiry). Specify 0 when prompted for an inquiry page.
8. Enter 4 (Test Unit Ready) until no error occurs.
9. Enter 20 (Rewind).
10. Enter 28 (Read and Write Tests)
11. Enter 1 (Read and Write). Press Enter three times to accept the defaults and to run the test.
12. Enter 38 (Unload Tape).
TAPEUTIL in Linux system environment 279