133
Chapter 8 SCSI Commands
The following are examples of valid templates.
8.21. TEST UNIT READY Command (00h)
The TEST UNIT READY command provides a means of checking whether the
autoloader is Ready. However, it is not a request for a self-test. If the GOOD
status is returned with no CHECK CONDITION status, a correct media access
command can be accepted. If the autoloader unit is not in the ready state, the
autoloader returns a CHECK CONDITION with a NOT READY sense key.
Table 8.21.1 : TEST UNIT READY command
Table 8.21.2 shows typical responses to the TEST UNIT READY command.
However, high priority responses (BUSY, RESERVATION CONFLICT, etc.)
are permitted.
Table 8.21.2 : Preferred TEST UNIT READY responses
Template
Matches
1234?678
12340678
12349678
and so on
12*45678
12------
(Search for information starting with 12. 45678 is ignored.)
Bit
Byte
7
6
5
4
3
2
1
0
0
Operation code (00h)
1
Logical unit number(00h)
Reserved
2
Reserved
3
Reserved
4
Reserved
5
Control(0h)
Status
Sense key
ASC and ASCQ
GOOD
NO SENSE
NO ADDITIONAL SENSE INFORMATION or
other valid additional sense code.
CHECK
CONDITION
ILLEGAL
REQUEST
LOGICAL UNIT NOT SUPPORTED
CHECK
CONDITION
NOT READY
LOGICAL UNIT IS IN PROCESS OF
BECOMING READY
CHECK
CONDITION
NOT READY
IMPORT OR EXPORT ELEMENT
ACCESSED