5.31REPORT LUNS Command (A0h)

The REPORT LUNS command requests that the peripheral device logical unit numbers of known logical units in the target disk be sent to the applications client.

The command only returns information about the logical units to which commands may be sent. The data format and field descriptions are shown in Table 5-163and Table 5-164respectively.

Table 5-163REPORT LUNS Command Descriptor Block-Data Format

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation Code (A0h)

 

 

 

 

 

 

 

 

 

 

 

 

1 - 5

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

6 – 9

 

 

 

 

(MSB)

 

 

 

 

 

 

Allocation Length

 

 

 

 

 

 

 

 

(LSB)

 

 

 

10

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

11

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-164REPORT LUNS Command Descriptor Block-Field Description

Field

Description

 

 

 

If the Allocation Length is not sufficient to contain the logical unit number values for all

Allocation

configured logical units, the device server still reports as many logical number values as will

fit in the Allocation Length.

Length

 

 

The format of the report of configured logical units is shown in Table 5-165.

 

 

Table 5-165LUN Reporting Parameter List -Data Format

Bit

7

6

5

 

4

 

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 - 3

(MSB)

 

 

 

LUN List Length (n – 7)

 

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4 - 7

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8 - 15

(MSB)

 

 

 

LUN (first LUN)

 

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

n-7 – n

 

 

 

LUN (last LUN, if more than one)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The LUN List Length field contains the length in bytes of the LUN list that can be transferred. The LUN list length equals the number of logical unit numbers reported multiplied by eight. If the allocation length in the CDB is too small to allow transfer of information about all of the logical units configured, the LUN list length value is not adjusted to reflect the truncation. The data format for the LUN Reporting Parameter List is described in Table 5-165.

Maxtor Atlas 10K V

5-113