REPORT LUNS

A0h

Description:

The Report LUNS command allows the host to retrieve information about what logical units the drive supports. The standard drive only has a single LUN.

Pre-execution checks:

Illegal Field

Command descriptor block

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (A0h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

Select Report

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (0)

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

(MSB)

 

 

Allocation Length

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

Select Report The type of logical unit address that will be reported. Allowable values:

00h/02h Report all logical units accessible by the initiator through the address target port.

01h No logical unit descriptors are returned because there are no well-known logical units.

03h–FFh Reserved. CHECK CONDITION returned.

Allocation Length Must be at least 16 bytes. If not, the drive will return CHECK CONDITION status and provide a sense key of ILLEGAL REQUEST and additional sense of 2400h (invalid field in CDB).

Commands

REPORT LUNS A0h 141