ZBC
ZBC (Zoned Block Commands) is the T10 SCSI command set for zoned block devices, whose host-managed model requires writes in sequential zones to start at the zone's write pointer.
ZBC is INCITS 536-2017 and ZBC-2 INCITS 550-2023, while ZBC-3 (INCITS 579) was still a draft in March 2026. [2] A 2014 working draft defines a host-aware model, with peripheral device type 00h, the HAW_ZBC bit and sequential-write-preferred zones, and a host-managed model with type 14h and sequential-write-required zones, both possibly with conventional zones and both supporting REPORT ZONES and RESET WRITE POINTER. [3]
A write that does not start at the write pointer of a sequential-write-required zone ends with CHECK CONDITION, ILLEGAL REQUEST and UNALIGNED WRITE COMMAND, and only a reset write pointer makes an invalid write pointer valid again. [3]
Linux defines TYPE_ZBC as 0x14, ZBC_IN and ZBC_OUT as opcodes 0x95 and 0x94, REPORT ZONES as service action 0x00, close, finish, open and reset as 0x01 to 0x04, and zone types 0x1 to 0x3 for conventional, sequential-write-required and sequential-write-preferred. [4]
The SCSI disk driver treats host-aware drives as regular disks, reads the open-zone limit of host-managed drives from VPD page 0xb6, rejects zone sizes that are not a power of two, sets write granularity to the physical block size and uses 16-byte read and write commands, which ZBC makes mandatory. [5]
Relations
- related
- Host-managed SMR (HM-SMR), Shingled magnetic recording (SMR), Zoned block device (ZBD), ZAC, Zone write pointer, Zone Reset, Host-aware SMR, Shingled band
Advantages
- Software can target host-managed shingled drives with standard commands rather than drive-specific ones. [3, 4]
- Mainline Linux exposes ZBC zones to file systems and applications through its zoned block device interface. [5]
Citations
- T10 Working Drafts index.
- T10 working draft: Zoned Block Commands (ZBC), T10/BSR INCITS 536 revision 1, 8 May 2014.
- Linux kernel source: include/scsi/scsi_proto.h.
- Linux kernel source: drivers/scsi/sd_zbc.c.
Further reading
Sources & caveats
- The approved standards are paywalled; the text read is the 2014 working draft (revision 1), so details of the published versions may differ.
- Kernel sources are master-branch snapshots on the access date; the sources give no performance figures.