6.Command Specification
REPORT LUNS
6-86
SONY AIT-3Ex drive SDX-800V series Ver.1.0
6.21.
REPORT LUNS A0h
Bit
Byte
7 6 5 4 3 2 1 0
0
Operation Code (A0h)
1
Reserved
2
Reserved
3
Reserved
4
Reserved
5
Reserved
6
(MSB)
7
8
9
Allocation Length
(LSB)
10
Reserved
11
Control
The REPORT LUNS command requests that the peripheral device logical unit numbers of known logical units in the
target be sent to the application client. The REPORT LUNS command shall return information about only those
logical units to which commands may be sent.
The REPORT LUNS command shall not be affected by reservations or persistent reservations.
The Allocation length shall be at least 16 bytes. If the Allocation length is less than 16 bytes, the device server shall
return CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST and the additional sense
data shall be set to INVALID FIELD IN CDB.
The Allocation length is not sufficient to contain the logical unit number values for all configured logical units, the
device server shall report as many logical unit number values as will fit in the specified Allocation length. This shall
not be considered an error.
The device server shall report the logical unit numbers of configured original units using the format shown in table
6-86.
Table 6-86: LUN reporting parameter list format
Bit
Byte
7 6 5 4 3 2 1 0
0
(MSB)
LUN List Length (00 00 00 08h)
3
(LSB)
4
Reserved
(0)
7
LUN
List
8
(MSB) LUN
15
(LSB)
The LUN list length 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 reported multiplied by eight. If the allocation length in the command
descriptor block is too small to transfer information about all configured logical units, the LUN list length value shall
not be adjusted to reflect the truncation.