Command Specifications
3 - 2 C141-E167
3.1.2 INQUIRY (12)
Bit
Byte
76543210
0 X‘12’
1 LUN 0 0 0 CmdDt EVPD
2 Page Code/Operation Cpde
300000000
4 Transfer Byte Length
50000000Link
This command transfers the information showing the IDD's characteristics (INQUIRY data) to the
application client. This command is executed immediately without queuing in a system which issues
only commands with no tags or links.
This command is executed normally even in cases where the UNIT ATTENTION condition is held,
and the UNIT ATTENTION condition is not cleared. This command is also executed normally
when the disk drive is not in the ready state or even when an illegal logical unit number (LUN) is
specified.
A CHECK CONDITION status is reported for this command and it is terminated abnormally only in
the case that one of the following conditions is detected.
• There is an error in the specifications other than the LUN field of the CDB.
• It is impossible to send INQUIRY data because of an IDD hardware error.
• An unrecoverable error was detected on the SCSI bus.
• An error detected during command execution was recovered in the IDD's error recovery
processing (Retry), but the mode which reports "RECOVERED ERROR" is specified in the
MODE SELECT parameter.
• Applicability to overlapping command exception conditions (See Section 1.7.1.)
The functions which can be specified in this command's CDB and the contents of information
transferred to the application client from the IDD differ depending on the specifications in the
CHANGE DEFINITION command. Furthermore, see Section 3.1.4, "CHANGE DEFINITION
(40)" concerning the CHANGE DEFINITION command.
If bytes 1, the "EVPD (enable vital product data)" bits, the "CmdDt (Command Support Data)" bits,
and byte 2, the "Page code" field in the CDB are enabled only in the case that transfer of the SCSI-
2/SCSI-3 mode's INQUIRY data is specified. In the case of the SCSI-1/CCS mode, zero must be set
in these bits and in this field. And if both the "EVPD" and "CmdDt" bits are one, this command is
terminated by a CHECK CONDITION status (ILLEGAL REQUEST [=5] / Invalid Field in CDB
[=24-00]).