Report LUNs Data Definition
The library returns the following data for the Report LUNs command.
TABLE 6-81 Report LUNs Data
Byte
7
0 to 3
(MSB)
4 to 7
8 to 15
(MSB)
n -7
(MSB)
to
n
Report LUNs Data Definitions:
LUN list length
TABLE 6-82 LUN Descriptor
Byte
7
0
Address Method
1
2 to 3
4 to 5
6 to 7
LUN Descriptor Data:
Address Method
Bus ID
Single Level LUN Address
Second, Third, and Fourth
Level LUN Address
96122 • Revision: F
6
5
4
LUN list length
Reserved (0)
First LUN Descriptor
Last LUN Descriptor (n)
The library returns the length in bytes of the LUN list that is available for
transfer. It is equal to 8 times the number of available logical units for the
initiator.
For example: If the allocation length is 16 bytes and 2 logical units are
available, this command will return the 8-byte header and 1 logical unit
descriptor; however, the LUN list length will still be 16 because 16 bytes were
available if the allocation length was sufficient.
6
5
4
Single Level LUN Address
Second Level LUN Address (00h)
Third Level LUN Address (00h)
Fourth Level LUN Address (00h)
This is set to 0h indicating single level LUN addressing is used.
This is set to 0h indicating a logical unit at the current level.
This is the value of the LUN
Set to 00h for single level addressing
Bit
3
2
Bit
3
2
Bus ID (0h)
Chapter 6 SCSI Commands 207
Report LUNS
1
0
(LSB)
(LSB)
(LSB)
1
0