Sony SDX-1100V/R Computer Drive User Manual


 
REPORT LUNS 6.Command Specification
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-83
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 will return information about only those
logical units to which commands may be sent.
The REPORT LUNS command will not be affected by reservations or persistent reservations.
The Allocation length will be at least 16 bytes. If the Allocation length is less than 16 bytes, the drive will return a
CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST and the additional sense data will
be set to INVALID FIELD IN CDB.
If the Allocation length is not sufficient to contain the logical unit number values for all configured logical units, the
drive will report as many logical unit number values as fit in the specified Allocation length. This will not be
considered an error.
The drive will report the logical unit numbers of configured drive 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 will 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 CDB is too
small to transfer information about all configured drive, the LUN list length value will not be adjusted to reflect the
truncation.