Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The ISO/IEC 14776-342-02 standard defines the SCSI Controller Commands (SCC) command set, a critical component of the SCSI-3 architecture designed for advanced storage controllers. This standard extends the base SCSI command set to manage logical units (LUNs), configure redundancy groups, control copy operations, and perform other controller-specific functions. It is primarily intended for devices that implement storage virtualization, RAID, or similar data management services.
The standard specifies:
ISO/IEC 14776-342-02 defines a set of mandatory and optional commands that a controller device must support. The commands are grouped into functional categories, each addressing a specific aspect of controller management.
| Command Group | Example Commands | Operation Codes | Mandatory/Optional |
|---|---|---|---|
| Logical Unit Management | MODIFY LUN, CREATE LUN, DELETE LUN | 0xC0–0xC3 | Mandatory (basic set) |
| Redundancy Group Management | CREATE REDUNDANCY GROUP, MODIFY REDUNDANCY GROUP, DELETE REDUNDANCY GROUP | 0xC4–0xC6 | Optional |
| Copy Manager | COPY, COMPARE, COPY AND VERIFY | 0x18, 0x39, 0x3A | Optional |
| Background Task Control | START BACKGROUND TASK, ABORT BACKGROUND TASK, QUERY TASK STATUS | 0xC7–0xC9 | Mandatory if background tasks supported |
| Log and Diagnostics | RECEIVE DIAGNOSTIC RESULTS, SEND DIAGNOSTIC, LOG SENSE, LOG SELECT | 0x1C, 0x1D, 0x4D, 0x4C | Mandatory (log sense/select) |
Each SCC command is encapsulated in a CDB that follows the SCSI architecture model. The CDB for SCC commands typically includes:
Many SCC commands rely on complex data structures passed through the DATA IN or DATA OUT phases. For example, the REDUNDANCY GROUP PARAMETERS block defines the redundancy level (e.g., RAID 0/1/5), member devices, and rebuild preferences. The standard provides exact byte-level layouts for these structures, including bit fields for feature enablement.
The standard also defines a Copy Manager to offload data movement between LUNs. The COPY command uses a segment descriptor list that specifies source and target extents, segment lengths, and block mapping operations.
Implementing ISO/IEC 14776-342-02 in a storage controller requires careful attention to command parallelism, resource management, and power‑fail safety.
Controllers that support SCC must manage internal resources such as LUN tables, redundancy group maps, and background task queues. The standard assumes a model where logical units can be created, deleted, or reconfigured without disrupting the entire system. Implementations must ensure atomicity of critical operations, such as creating a redundancy group across multiple physical drives.
Background tasks, such as consistency checks, rebuilds, or data migration, are controlled via dedicated SCC commands. The standard mandates that a controller can support multiple concurrent tasks and report their progress via status logs. It is recommended to implement a priority scheme for background tasks to prevent interference with I/O operations.
The SCC standard annexes provide guidance for error handling during commands, especially for copy and redundancy operations. If a copy segment fails, the controller should report the exact extent causing the failure and allow the initiator to resume or abort the operation. For redundancy groups, the standard specifies recommended actions on member drive failures, such as entering degraded mode and starting automatic rebuild when a spare is available.
Conformance to ISO/IEC 14776-342-02 is essential for storage devices to claim SCC support. Testing should cover functional, interoperability, and stress scenarios.
A conformance test suite for SCC typically verifies:
Because SCC devices may interact with initiators from multiple vendors, it is critical to test with reference initiator implementations. The standard does not define a specific test suite but refers to the ISO/IEC 14776-400 series for common SCSI test methods. Many vendors participate in plugfest events where SCC implementations are exercised against a variety of operating systems and HBAs.
In summary, ISO/IEC 14776-342-02 remains the foundational SCC standard for storage controller command sets. While newer versions and amendments exist, the 2002 edition is still widely referenced for legacy device support and base understanding of the controller command architecture. Adhering to its specifications ensures robust, interoperable storage solutions.
© 2026 International Standards Technical Article Series. This content is for informational purposes and does not replace the official standard document.