vdev recommendations for RAIDZ
How many disks to use at a RAIDZ* VDEV?
Optimal RAID-Zx pool member per vdev rule 2^n + p
Where n is 1, 2, 3, 4, . . .
And p is the parity: p=1 for raid-z1, p=2 for raid-z2 and p=3 for raid-z3
RAID-Z = (2 ^1 + 1) … (2 ^n + 1) = 3, 5, 9, 17, …
RAID-Z2 = (2 ^1 + 2) … (2 ^n + 2) = 4, 6, 10, 18, …
RAID-Z3 = (2^1 + 3) … (2 ^n + 3) = 5, 7, 11, 19, …
and
RAIDZ Configuration Requirements and Recommendations
A RAIDZ configuration with N disks of size X with P parity disks can hold approximately (N-P)*X bytes and can withstand P device(s) failing before data integrity is compromised.
- Start a single-parity RAIDZ (raidz) configuration at 3 disks (2+1)
- Start a double-parity RAIDZ (raidz2) configuration at 6 disks (4+2)