![](/images/new-backgrounds/1106359/10635981x1.webp)
MODE SENSE
Both the
Table 28. Byte MODE SENSE Command
| 7 |
| 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| Operation Code (1Ah) |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
| |
1 | Logical Unit Number (0) |
| Reserved | DBD |
|
| Reserved |
| |||
|
|
|
|
|
|
|
|
|
|
| |
2 |
| PC |
|
|
| Page Code |
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
| Allocation Length |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
|
|
| Control |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
Table 29. Byte MODE SENSE Command |
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
| ||
| 7 |
| 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| Operation Code (5Ah) |
|
|
| |||
|
|
|
|
|
|
|
| ||||
1 | Logical Unit Number (0) |
| Reserved | DBD |
|
| Reserved |
| |||
|
|
|
|
|
|
|
|
|
| ||
2 |
| PC |
|
|
| Page Code |
|
| |||
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
4 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
5 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
6 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
|
|
|
| Allocation Length |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
8 |
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| ||
9 |
|
|
|
|
| Control |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
The MODE SENSE command requests that the drive send its configuration data to the initiator. Pages 01h, 02h, 0Fh, 10h, and 1Ch are supported. Mode Pages 18h and 19h are supported only when the device is attached by a Fibre Channel interface. A page 3Fh request returns all supported pages.
If the Disable Block Descriptors (DBD) flag is set, then no block descriptors are returned with the mode data. If it is clear, then block descriptors are returned.
If the Page Control (PC) field is set to 00b, the current configuration is returned. If it is set to 01b, the configuration is returned with every bit that can be modified set to 1 and every bit that cannot be modified set to 0. If it is set to 10b or 11b, the
The Page Code should be set to the page to be returned.
Chapter 2. Command Support 27