Sun Microsystems, Inc.   Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

SCSI Sense Keys

KEY DESCRIPTION
0 NO SENSE
There is no specific sense key information to be reported for the designated logical unit. This would be the case for a successful command or a command that received CHECK CONDITION or COMMAND TERMINATED status because one of the filemark, EOM, or ILI bits is set to one.
1 RECOVERED DATA
The last command completed successfully with some recovery action performed by the target. Details may be determined by examining the additional sense bytes and the information field.
2 NOT READY
The logical unit addressed cannot be accessed. Operator intervention may be required to correct this condition.
3 MEDIUM ERROR
The command terminated with a non-recovered error condition that was probably caused by a flaw in the medium or an error in the recorded data. This sense key may also be returned if the target is unable to distinguish between a flaw in the medium and a specific hardware failure (sense key 4).
4 HARDWARE ERROR
The target detected a non-recoverable hardware failure while performing the command or during self test.
5 ILLEGAL REQUEST
There was an illegal parameter in the command descriptor block or in the additional parameters supplied as data for some commands. If the target detects an invalid parameter in the command descriptor block, then it shall terminate the command without altering the medium. If the target detects an invalid parameter in the additional parameters supplied as data, then the target may have already altered the medium. This sense key may also indicate that an invalid IDENTIFY message was received.
6 UNIT ATTENTION
The removable medium may have been changed or the target has been reset.
7 DATA PROTECT
A command that reads or writes the medium was attempted on a block that is protected from this operation.
8 BLANK CHECK
A write-once device or a sequential-access device encountered blank medium or format-defined end-of-data indication while reading or a write-once device encountered.
9 Vendor Specific
This key is available for reporting vendor specific conditions.
a COPY ABORTED
A COPY, COMPARE, or COPY AND VERIFY command was aborted due to an error condition on the source device, the destination device, or both.
b ABORTED COMMAND
The target aborted the command. The initiator may be able to recover by trying the command again.
c HARDWARE ERROR
The target detected a non-recoverable hardware failure while performing the command or during self test.
d VOLUME OVERFLOW
A buffered peripheral device has reached the end-of-partition and data may remain in the buffer that has not been written to the medium.
e MISCOMPARE
The source data did not match the data read from the medium.
f Reserved


Last updated: December 2, 1996
  Copyright � 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback