3.1 Control/Sense Commands
C141-E167 3 -
61
This command requests that the peripheral device logical unit inventory be sent to the application
client.
This command normally operate under the reserve condition (RESERVE or PERSISTENT
RESERVE).
The "Allocation Length" should be at least 16 bytes. If the "Allocation Length" is less than 16 bytes,
the IDD reports the CHECK CONDITION status (ILLEGAL REQUEST [=5] / Invalid Field in CDB
[=24-00]). If the "Allocation Length" is not sufficient to contain the entire logical unit inventory, the
device server shall report as many logical unit number values as fit in the specified allocation length.
This shall not be considered an error.
The device server shall report those devices in the logical unit inventory using the format shown in
below.
Bit
Byte
76543210
0(MSB)
LUN List Length (N-7)
3(LSB)
4(MSB)
Reserved
7(LSB)
8(MSB)
First LUN
15 (LSB)
n-7 (MSB)
Last LUN
n(LSB)
The "LUN List Length" field shall contain the length in bytes of the LUN list that is available to be
transferred. The "LUN list length" is the number of logical unit numbers in the logical unit inventory
multiplied by eight. If the allocation length in the command descriptor block is too small to transfer
information about the entire logical unit inventory, the LUN list length value shall not be adjusted to
reflect the truncation.
Header
~ ~
~ ~
~
~
~
~
~
~
~ ~
LUN List
~
~
~
~ ~ ~