RAIDZ
conceptRAIDZ protects a team of disks with recovery math instead of full copies: alongside your data it stores enough extra information that if a disk dies, everything on it can be recomputed from the survivors. RAIDZ1 survives one dead disk, RAIDZ2 two, RAIDZ3 three—and you keep much more usable space than mirrors give you.
Two things the space math hides. First, the good news: ZFS fixed the famous flaw of older systems built this way (a crash at the wrong instant could silently corrupt them—the "write hole"; ZFS's never-overwrite habit makes it impossible). Second, the catch that decides real setups: a RAIDZ team, no matter how many disks are in it, handles scattered small requests at roughly the pace of a single disk—because every request needs the whole team. Wonderful for big libraries read start-to-finish; wrong for virtual machines and databases.
Choosing within the family:
- RAIDZ1—one parity disk. With today's drive sizes, a resilver reads many TB from every survivor for hours or days; a second failure or read error in that window costs data. Fine for genuinely rebuildable bulk; nervous territory for anything else.
- RAIDZ2—the homelab default for bulk storage vdevs (classic shape: 6–8 disks). Two-failure tolerance is what makes the resilver window boring instead of frightening.
- RAIDZ3—for wide vdevs and long resilvers at scales most homelabs don't reach.
Use it where it's strong: media libraries, backup targets, archives—big sequential reads and writes, where bandwidth is fine and IOPS don't matter. Keep VMs and databases off it (that's what mirror vdevs are for).