TEST UNIT READY00h

TEST UNIT READY checks if the drive is ready for commands that access the tape. This is done by the pre-execution Media Access check; it is not a request for a self-test. If the drive has a tape loaded, the command returns a GOOD status. Otherwise, CHECK CONDITION is reported and the sense key is NOT READY.

Pre-execution checks:

Illegal Field

Reservation

Deferred Error

Unit Attention

Media Access

Media Information

Command descriptor block:

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (00h)

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (0)

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Test Unit Ready specific status:

If all the pre-execution checks pass, GOOD status is reported.

176 Commands