raidz · shipping · also RAID-Z, RAIDZ1, RAIDZ2, RAIDZ3

RAIDZ

RAIDZ is ZFS's distributed-parity virtual-device layout with one, two or three parity fragments and block-dependent stripe widths.

Data and parity are striped across all disks of a raidz group, though not necessarily with a consistent stripe width, and the layout avoids the write hole in which data and parity become inconsistent after a power loss. A group of N disks of size X with P parity disks holds approximately (N-P)*X bytes and survives P device failures, needs at least P+1 devices, and is recommended at 3 to 9 devices. [1] RAIDZ1, RAIDZ2 and RAIDZ3 name parity levels within this layout, not separate storage media, and raidz is an alias for raidz1. A whole-pool failure probability cannot be inferred from the parity count alone.

Relations

related
Parity RAID, RAID 5, RAID 6, Resilver, RAIDZ expansion, ZFS, ZFS virtual device (vdev), ZFS recordsize, ZFS volblocksize

Advantages

  • Variable stripe width avoids the fixed-width zero padding of dRAID, where 8 data devices and 4 KiB sectors give a 32 KiB minimum allocation. [1]
  • A group can be widened by attaching a disk, redundancy is kept during the expansion, and the number of tolerated failures stays the same. [3]

Limitations

  • After expansion, old blocks keep their old data-to-parity ratio, so a 5-wide RAIDZ2 stores 3 data and 2 parity per stripe while new blocks after growth to 6-wide store 4 and 2, and reported free space can be slightly low. [3]
  • Because stripe width varies, resilvering is not fully sequential, which dRAID obtains only by accepting fixed-width padding. [1]
  • A disk failure during expansion pauses the expansion until the group is healthy again. [3]

Citations

  1. OpenZFS zfs-2.3.0: zpoolconcepts(7), raidz and draid virtual devices (accessed 2026-10-23)
  2. OpenZFS zfs-2.3.0: zpool-attach(8), RAID-Z expansion. (accessed 2026-10-23)

Further reading

  1. Hesela: RAIDZ expansion and retained parity cost (accessed 2026-10-16)
Sources & caveats
  • concepts is the OpenZFS zfs-2.3.0 zpoolconcepts(7) manual page, re-read for the raidz and draid virtual-device descriptions.
  • attach is the OpenZFS zfs-2.3.0 zpool-attach(8) manual page, read for RAID-Z expansion behavior.
  • No pool reliability figure or measured performance is claimed.

JSON: /data/terms/raidz.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. RAIDZ. Hesela. 2026-11-30. https://hesela.dev/terms/raidz/