SCSI Status Code

SCSI Status Code

A SCSI Status Code is used to determine the success or failure of a SCSI command. At the end of any command, the target returns a Status Code byte which should be one of the following:

00h OK

02h Check condition

When the target returns a Check Condition in response to a command it is indicating that it has entered a contingent allegiance condition. This means that an error occurred when it attempted to execute a SCSI command. The initiator usually then issues a SCSI Request Sense command in order to obtain a Key Code Qualifier (KCQ) from the target.

04h Condition met

This status code is returned on successful completion of a Search Data command or a Pre-fetch Command.

08h Busy

The target returns Busy if it cannot complete a command at that time, for example if it is in the contingent allegiance condition.

10h Intermediate

The target returns Intermediate when it successfully completes a linked command.

12h Data Under/Over Run?

A data under/over run?

14h Intermediate - Condition met

As the name suggests, this is simply a combination of 10h Intermediate and 04h Condition met.

18h Reservation conflict

The target returns this status if an initiator attempts to access a LUN that has been previously reserved by another initiator using the Reserve or Reserve Unit command.

22h Command terminated

The target returns this status if the target has to terminate the current I/O process because it received a Terminate I/O Process message. This status also indicates that a contingent allegiance condition has occurred.

28h Queue (task set) full

Similar to 08h Busy status.

30h ACA active

40h Task aborted

References

[ftp://ftp.t10.org/t10/drafts/sam4/ SAM-4] clause 5.3.1


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • SCSI element codes — SCSI Enclosure Services (SES) devices contains a number of elements, each of which is defined by a one byte SCSI element code. There are many different element codes defined to cover various devices as shown in the list below. List of SES element …   Wikipedia

  • SCSI — Small Computer System Interface, or SCSI (pronounced skuh zee [ [http://www.bartleby.com/61/56/S0175650.html SCSI] . American Heritage Dictionary .] [cite book|title=The Book of SCSI|last=Field|pages=1] ), is a set of standards for physically… …   Wikipedia

  • SCSI Enclosure Services — Most recent SCSI enclosure products support a protocol called SCSI Enclosure Services (SES). The initiator can communicate with the enclosure using a specialised set of SCSI commands to access power, cooling, and other non data characteristics.… …   Wikipedia

  • SCSI command — In SCSI computer storage, a command is the basic unit of communication. The SCSI command architecture was originally defined for parallel SCSI buses but has been carried forward with minimal change for use with Fibre Channel, iSCSI and Serial… …   Wikipedia

  • SCSI element status codes — When a SCSI SES controller is interrogated for the status of a SES element, the response includes a 4 bit SCSI element status code. The list of valid codes is:*0h unsupported status detection is not implemented for this element *1h OK element is… …   Wikipedia

  • SCSI contingent allegiance condition — On a computer SCSI connection, a contingent allegiance condition occurs while a SCSI device reports an error. SCSI communication takes place between an initiator and a target. The initiator sends a command to the target which then responds. At… …   Wikipedia

  • SCSI check condition — In computer terminology, a Check Condition occurs when a SCSI device needs to report an error. SCSI communication takes place between an initiator and a target. The initiator sends a command to the target which then responds. SCSI commands are… …   Wikipedia

  • SCSI Start Stop Unit Command — The SCSI Start/Stop Unit command is used to control the motor in a rotary device such as a SCSI disk drive. It is also used to load or eject exchangeable media such as a tapes or CDs. It is a frequently used command and is often the first one… …   Wikipedia

  • Parallel SCSI — Centronics 50 SCSI plug Parallel SCSI (formally, SCSI Parallel Interface, or SPI) is one of the interface implementations in the SCSI family. In addition to being a data bus, SPI is a parallel electrical bus: There is one set of electrical… …   Wikipedia

  • Abkürzungen/Computer — Dies ist eine Liste technischer Abkürzungen, die im IT Bereich verwendet werden. A [nach oben] AA Antialiasing AAA authentication, authorization and accounting, siehe Triple A System AAC Advanced Audio Coding AACS …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”