37 report luns command, Report luns command – Seagate Fibre Channel Interface User Manual

Page 310

Advertising
background image

296

Fibre Channel Interface Manual, Rev. D

12.37

Report LUNs command

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 returns information about only those
logical units to which commands may be sent. When the HiSupport bit is one (see Table 105, Disc drive inquiry
data format), the device server supports the Report LUNs command. A SCSI device that is capable of support-
ing a LUN address other than zero should support the Report LUNs command on logical unit zero.

The Report LUNs command is not affected by reservations or persistent reservations.

Table 200: Report LUNs command (A0h)

Field definitions (listed alphabetically)

Allocation Length
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 con-
sidered an error.
The allocation length in byte four of the format shown specifies the number of bytes the initiator has allocated for returned
sense data. The allocation length should always be at least 18 bytes for disc drive devices for the initiator to receive all of
the disc drive sense data. Any other value indicates the maximum number of bytes that will be transferred.

Control
See Control Bytes in Section 11.2.1.6.

Bit

Byte

7

6

5

4

3

2

1

0

0

1

0

1

0

0

0

0

0

1

Reserved

2

Reserved

3

Reserved

4

Reserved

5

Reserved

6

(MSB)

Allocation Length

7

8

9

(LSB)

10

Reserved

11

Control

A0h

Table

number

200

200

Advertising
This manual is related to the following products: