46
PRODUCT MANUAL 433689-01
CHAPTER 6 COMMUNICATION INTERFACE AND COMMAND PROTOCOL
STATUS BYTES
After the tape drive executes a command, it issues a status byte to the initiator
that indicates whether it performed the command successfully. Ta bl e 6 - 7
describes the four status bytes supported by the tape drive.
SENSE KEYS
When the tape drive returns Check Condition status to the initiator, the
initiator can issue a REQUEST SENSE (03h) command to receive information
about the error, exception, or abnormal condition. This information includes a
sense key, which describes the general error or change of state. Tab le 6- 8
describes the sense keys supported by the tape drive. Refer to the VXA-320
(VXA-3) Tape Drive SCSI Reference for a detailed explanation of the information
returned by the REQUEST SENSE (03h) command.
Table 6-7 Status byte descriptions
Status byte
Hex
value
Description
Good 00h Indicates that the tape drive successfully completed the operation.
Check Condition 02h Indicates that an error, exception, or abnormal condition has caused sense
information to be set. The initiator can issue a REQUEST SENSE command
to access this information.
Busy 08h Indicates that the tape drive is busy. This status is sent whenever the tape
drive is unable to accept a command from an initiator.
Reservation Conflict 18h Indicates that the tape drive is reserved for the exclusive use of another
initiator.
Table 6-8 Supported sense keys
Sense key
Hex
Value
Description
No Sense 0h Indicates that there is no specific sense key information to be reported.
Recovered
Error
1h Indicates that the last command completed successfully with some recovery
action performed by the tape drive. Details may be available by examining the
additional sense bytes and the information field.
Not Ready 2h Indicates that the tape drive does not contain a data cartridge or that the data
cartridge is not loaded. Operator intervention may be required to correct this
condition.
Medium
Error
3h Indicates that the command terminated with a non-recoverable error condition
that may have been caused by a flaw in the tape or an error in the recorded data.
The tape drive may also return this sense key if it is unable to distinguish between
a flaw in the tape and a specific hardware failure (sense key 4h).
Hardware
Error
4h Indicates that the tape drive detected a non-recoverable hardware failure (for
example a device failure or parity error) while performing the command or during
a self-test.