MEDIA CHANGER COMMANDS
6-2.6
TEST UNIT READY MC command 00h
The TEST UNIT READY command provides a means to check if the logical unit is ready. This is not
a request for a self-test. If the logical unit would accept an appropriate medium-access command
without returning CHECK CONDITION status, this command returns a GOOD status.
6-2.6.1
TEST UNIT READY CDB Description
TEST UNIT READY is a six-byte command. The bytes are as shown below and described in
Table 6-34. Common fields are described in paragraph 4-3.1 on page 7-4.
7
BYTES
0
0
1
2
3
4
5
Note: Changeable fields in the CDB are shaded.
BYTE
BIT
VALUE
0
0-7
6-2.6.2
TEST UNIT READY CHECK CONDITION Status
The medium-changer logical unit is Ready if the following conditions are met:
A. the medium-changer mode is System Mode
B. a magazine is present or a cartridge is loaded in the tape drive
If medium-changer is not Ready then CHECK CONDITION status is returned with the sense key
equal to NOT READY.
6-30
6
5
4
0
0
0
LUN
Reserved
Table 6-34. TEST UNIT READY Field Description
00H
Operation code.
CG00000-011503 REV. A
M2488 PRODUCT GUIDE
BITS
3
2
0
0
Reserved
Reserved
Reserved
Reserved
DESCRIPTION
1
0
0
0
Flag
Link
March 1997