Pcornel
Storage · ZFS

RAIDZ1

Cheat sheet · https://pcornel.dk/topic.php?topic=4015

Back to the Topic

Answer

RAIDZ1 is a variable-width parity vdev with 1 parity. It can tolerate up to 1 unavailable member device(s) in that vdev before redundancy is exceeded, subject to readable surviving data. Capacity and performance depend on width, sector alignment, record/block sizes and workload. Pools with multiple RAIDZ vdevs stripe allocations across those top-level vdevs.

Remember

  • RAIDZ1 ≠ backup.
  • RAIDZ1 tolerance is per top-level RAIDZ vdev, not a pool-wide budget of 1 disk failures.
  • Parity protection ≠ proof against every corruption when no valid redundant reconstruction source remains.
  • Usable capacity ≠ simple raw sum after parity, slop space, metadata and allocation effects.

First checks

  • zpool status — raidz1 vdev
  • zpool list -v — capacity
  • smartctl -a /dev/sdX — member health

Verify in this order

data + 1 parity → spread across vdev disks

Where it usually breaks

First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.

ZFS → RAIDZ1 ZFS map

ZFS boundaryWhat to verifyProof limit
Identity / topologyPool GUID/name, dataset/zvol, top-level vdev class, leaf-device identity and effective propertiesObject presence alone does not prove integrity, performance or recovery
Capacity / protectionPool free space, quotas/reservations, snapshot retention, redundancy and active scrub/resilver stateFree space or ONLINE state at one layer does not prove end-to-end health
Failure boundaryAn ONLINE RAIDZ1 vdev proves current members satisfy ZFS availability rules with 1-parity protection configured; it does not prove latent sectors are readable, backups exist, or all other top-level vdevs are healthy.Correlate ZFS evidence with both workload and lower device/path evidence
AcceptanceHealthy evidence: all expected members are online, remaining 1-parity protection is intact, persistent errors are not increasing, and recent scan plus representative I/O is clean.Close only after original workload plus checksum/read-back/recovery verification succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4015

Confirmation

Confirm action

Continue?