54
16 SCSI Error Reporting
This section lists the error codes and corresponding meanings that can be returned by
the library. Refer to the tape drive manual for the error codes returned by the tape
drive.
SCSI devices report errors by returning the
CHECK CONDITION
status after trying to execute a
command received from an initiator. The initiator can then issue a
REQUEST SENSE
command to learn more about the error. The sense data returned by the library
includes a Sense Key, an Additional Sense Code, and an Addition Sense Code Qualifier.
These three pieces of information combine to indicate a specific error condition.
Sense Keys
The following table describes the Sense Key valuations returned by the library. The
Sense Key indicates very generally what the nature of the error condition is.
Table 16-1: Sense Key Values
Sense Key
Meaning
Explanation
0h
No Sense
There is no specific sense key information.
2h
Not Ready
Library cannot be accessed. Operator intervention may be
required to correct this condition. See the additional sense code
description for more information.
4h
Hardware Error
Library detected a non-recoverable hardware failure while
performing the command or during a self-test. See the ASC
description for more information.
5h
Illegal Request
Invalid command request received or the library is in the wrong
mode to process the command.
6h
Unit Attention
Indicates that the data cartridge inventory may have been
changed.
9h
Vendor Specific
Indicates vendor-specific sense data for library libraries.