Command descriptor block (CDB)
A command descriptor block (CDB) is the byte-encoded description of a SCSI command.
Command and data: The CDB identifies a command and is distinct from its associated data payload. Common fixed-length formats are 6, 10, 12 and 16 bytes; the operation and command set determine the layout. [1] [2]
Interpretation: Decode the command using the applicable device command set, such as SBC for block devices or SSC for sequential-access devices. A shared SCSI transport does not make their operations interchangeable. [3]
Relations
Citations
- SNIA dictionary: Command Descriptor Block
- Linux SCSI Interfaces Guide: protocol versus bus and subsystem layers
- T10: SCSI standards architecture and command families
Sources & caveats
- The listed fixed lengths are examples, not an exhaustive limit on SCSI command formats.