+---------------------------------------------------+
| TEST UTILITY |
| IBM SCSI Tape Device Driver for SolarisOS |
+---------------------------------------------------+
1: Open Device 17: Forward Space File
2: Close Device 18: Backward Space File
19: Forward Space Record
3: Inquiry 20: Backward Space Record
4: Request Sense 21: Locate End Of Data
5: Test Unit Ready
6: Reserve 22: Off-line
7: Release 23: Load Tape
24: Unload Tape
8: Element Information
9: Move Medium 25: Sync Buffer
10: Inventory 26: Display Message
11: Read Data 27: Get Device Status
12: Write Data 28: Get Device Info
29: Get Media Info
13: Write File Mark 30: Get Position
14: Erase Tape 31: Set Position
15: Rewind 32: Get Parameter
16: Retention 33: Set Parameter
Q: Quit Program
3. At the Enter Selection: prompt, select 1 to open the device.
4. At the Enter device special le name: prompt, type /dev/rmt/1st (or the actual device special le
for your device).
5. At the Select mode (1=read-write, 2=read, 3=write, 4=append): prompt, type 1. The Device
opened response is displayed.
6. At the Enter Selection: prompt, select 3 to receive the device inquiry data. The inquiry data follows -
The IOC_INQUIRY ioctl succeeded. (EXAMPLE)
The inquiry data is:
1 80 2 2 33 0 0 38 49 42 4d 20 20 20 20 20
30 33 35 39 30 42 31 31 20 20 20 20 20 20 20 20
34 44 30 33 54 55 20 20 20 20 20 20 20 30 30 30
32 39 30 20 3 0 0 81 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7. At the Enter Selection: prompt, select 5 to verify device test-unit ready. The response is -
The IOC_TEST_UNIT_READY ioctl succeeded.
8. At the Enter Selection: prompt, select 12 to complete write verication.
9. At the Enter Block Size: prompt, type 1024.
10. At the Enter Blocking Factor: prompt, type 256.
11. At the Enter Megabytes To Write: prompt, type 10.
12. At the Enter Pattern File Name: prompt, press Enter.
13. At the Enter Random Seed: prompt, type 0. The response is -
Generated 262144 bytes of random data using seed 7892.
********************************
********
Transferred 10MB in 1.98 seconds for rate of 5.16MB/second.
14. At the Enter Selection: prompt, select 15 to rewind the tape. The response is -
The STIOC_TAPE_OP ioctl succeeded.
15. At the Enter Selection: prompt, select 11 to complete read verication.
Procedures
231