Overview
ISO/IEC 14776-454:2018 (SPC-4) - SCSI Primary Commands - 4 - is the international standard that defines the core command set, interfaces and behaviors required for Small Computer System Interface (SCSI) devices. It specifies which SCSI commands are mandatory or optional, data and sense formats, command descriptor block (CDB) formats, and operational conventions to ensure interoperability among diverse SCSI implementations.
Key Topics
- Scope and interoperability: Defines interfaces, functions and operations for many SCSI device types to ensure consistent behavior across implementations.
- Command Descriptor Block (CDB) formats: Detailed definitions for fixed-length CDBs (6-, 10-, 12-, 16-byte) and variable/extended CDBs, including common fields such as operation code, service action, logical block address and transfer length.
- SCSI commands: Lists important and required commands for device servers, including use guidance for INQUIRY, REPORT LUNS, TEST UNIT READY, and REQUEST SENSE.
- Sense data: Descriptor and fixed sense-data formats, sense keys, additional sense codes and rules for returning Information and Command-Specific Information fields.
- Data field and encoding rules: Numeric/character conventions, bit/byte ordering, ASCII and variable-type field requirements, null termination and padding.
- Device model and behaviors: Common device model, device clocks/timestamps, device-specific background functions, download/activation of microcode and error history handling.
- Notation and documentation conventions: Terms, definitions, UML, flowchart and state-diagram notation conventions used across the standard.
- Security and utility: Guidance on secure random numbers and other operational details.
Applications
SPC-4 is used by:
- Storage device vendors and firmware engineers - to implement compliant SCSI device command sets and ensure interoperability with host systems.
- Operating system and driver developers - to interpret and generate SCSI commands and correctly handle sense data and CDB formats.
- Test labs and integrators - to validate compliance, interoperability and conformance to mandatory/optional command behaviors.
- Storage architects and system integrators - to design multi-vendor storage solutions where consistent SCSI behavior is critical.
Practical benefits include reliable cross-vendor compatibility, predictable error reporting, consistent command semantics and clear rules for firmware updates and device background operations.
Related Standards
- Other parts of the ISO/IEC 14776 SCSI series and device-specific SCSI command standards provide complementary requirements (device-type command sets, transport mappings and conformance tests). Implementers should consult the applicable parts for device-specific behaviors and normative references.
Keywords: ISO/IEC 14776-454:2018, SPC-4, SCSI Primary Commands, SCSI commands, Command Descriptor Block, CDB formats, sense data, storage interoperability.