SCSI mode page

SCSI target devices provide a number of SCSI mode pages. These can be interrogated by a MODE SENSE command and set by a MODE SELECT command. The MODE SENSE commands and the mode page formats include a 6-bit page code field, allowing for 64 possible mode pages. When the number of pages approached this limit, an eight-bit subpage code field was added. A description of many of these page codes is included below. Note that any given SCSI device type will only support a subset of the possible page codes, and some page codes may have different meanings for different devices.

List of SCSI mode page codes[1]

Page/Subpage Code Description
00h/xxhVendor specific
01h/00hRead-Write Error Recovery
02h/00hDisconnect-Reconnect - allows the initiator to tune SCSI bus performance
03h/00hFormat Device (disk devices)
04h/00hRigid Disk Geometry
05h/00hFlexible Disk
06h/00hOptical Memory
06h/00hRBC Device Parameters
07h/00hVerify Error Recovery
08h/00hCaching
0Ah/00hControl - tagged queuing, extended contingent allegiance, asynchronous event notification, and error logging
0Ah/01hControl Extension - timestamp, asymmetric logical unit access, initial command priority, maximum sense data length
0Bh/00hMedium Types Supported
0Ch/00hNotch and Partition
0Dh/00hCD Device Parameters
0Eh/00hCDROM Audio Control
0Eh/01hTarget Device (Automation/Drive Interface)
0Eh/02hDT Device Primary Port parameters (Automation/Drive Interface devices)
0Eh/03hLogical Unit parameters (Automation/Drive Interface devices)
0Eh/04hTarget Device Serial Number (Automation/Drive Interface devices)
10h/00hDevice Configuration
11h/00hMedium Partition (1)
14h/00hEnclosure Services Management
15h/00hExtended
16h/00hExtended Device-Type Specific
18h/00hProtocol-Specific Logical Unit
19h/00hProtocol-Specific Port
1Ah/00hPower Conditions
1Ah/01hPower Control
1Bh/00hLUN Mapping
1Ch/00hInformational Exceptions Control
1Ch/01hBackground Control
1Ch/02hLogical Block Provisioning
1Dh/00hElement Address Assignment (media changer devices)
1Eh/00hTransport Geometry Parameters (media changer devices)
1Fh/00hDevice Capabilities (media changer devices)
20h-29hVendor specific
2Ah/xxhDevice-type specific
2Ah/00hCD Capabilities and Mechanical Status
3Fh/xxhreturn all pages and/or subpages (valid only for a MODE SENSE command)
xxh/FFhreturn all subpages (valid only for a MODE SENSE command)

References

  1. "SCSI Primary Commands - 4 (SPC-4)" (PDF). Retrieved 2013-01-25.
This article is issued from Wikipedia - version of the Sunday, January 19, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.