The interface card returns the LUN Parameters as defined in Table 13. Table 13 Report LUNs Parameter List
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| (MSB) |
|
|
| |
|
|
|
| LUN list length |
|
|
| ||
1 |
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| (LSB) |
|
|
| |
3 |
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |
4 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
| |
5 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
| |
6 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
| |
7 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| ||
|
|
|
| LUN list |
|
|
| ||
|
|
|
|
|
|
|
|
| |
|
|
|
| First LUN |
|
|
| ||
|
|
|
|
|
|
|
|
| |
|
|
|
|
| : |
|
|
| |
|
|
|
|
|
|
|
|
| |
|
|
|
| Last LUN |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
NOTE: The LUN list length is the number of LUNs times 8.
All LUNs are reported and will appear in the host’s map.
Inquiry command
The format of the Inquiry command is shown in Table 14.
Table 14 Format of LUN Inquiry command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
0 |
|
|
| Operation Code (12h) |
|
| |||||
|
|
|
|
|
|
|
|
| |||
1 |
|
|
|
| Reserved |
|
| EVPD | |||
|
|
|
|
|
|
| |||||
2 |
|
|
| Page Code or Operation Code |
|
| |||||
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
4 |
|
|
|
| Allocation Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
| ||
5 |
|
|
|
|
| Control |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
The interface card returns the LUN Inquiry Data as defined in Table 16.
110 Inband