Request Sense Command
August 2016 Commands 193
Sense Keys
TABLE 3-146 lists the Sense Keys that provides basic information about an error. The
Sense Key, with the ASC and ASCQ, provides a description about an error.
TABLE 3-146 Sense Key Code Descriptions
Code Description
0 No Sense
Indicates there is no specific sense key information to be reported. A sense key of 0
indicates a successful command or a command that received a Check Condition status
because of a filemark, end-of-medium, or illegal length indication. A sense key of 0 also
indicates the tape drive needs cleaning.
2 Not Ready
Indicates the addressed logical unit is not ready for tape motion commands (tape is not
loaded, device is not ready).
3 Medium Error
Indicates an unrecovered error condition that was probably caused by a defect in the tape
or an error in the recorded data. This sense key may also be returned if the device cannot
distinguish between a defect in the tape and/or a hardware failure, Sense Key 4.
4 Hardware Error
Indicates the device detected an unrecoverable hardware failure while performing the
command or during a self-test.
5 Illegal Request
Indicates an illegal parameter in the Command Descriptor Block or parameter data.
6 Unit Attention
Indicates a tape may have been changed, the device was reset, or parameters were
changed by another host.
7 Data Protect
Indicates a command that reads or writes to the tape was attempted on a block that is
protected from this operation. The read or write operation was not performed.
8 Blank Check
Indicates the device encountered blank tape.
B Aborted Command
Indicates the device aborted the command. The initiator may be able to recover by trying
the command again.
D Volume Overflow
Indicates a buffered device has reached the end-of-tape and data remains in the buffer.
E Miscompare
Indicates that the source data did not match the read data from the medium
(Logical Block Protection Methods did not agree).