Guide / Storage planning

ZFS & RAID Storage Planning: RAIDZ1 vs RAIDZ2 vs Mirror

Plan your ZFS or RAID storage layout with real capacity numbers. Compare RAIDZ1, RAIDZ2, RAIDZ3 and mirror usable space, fault tolerance, and rebuild risk. Free calculator included.

Why storage planning matters before you buy drives

Storage is usually the largest ongoing cost of a home server. Drives are expensive, and choosing the wrong RAID or ZFS layout means either wasting money on unused capacity or risking data loss when a drive fails.

The good news is that the math is straightforward once you understand the layout types. This guide walks through every common configuration with real numbers, so you can decide before spending money.

Use the RAID & ZFS Capacity Calculator to run your own numbers after reading this guide.

The core trade-off: capacity vs safety vs performance

Every storage layout makes a trade between three things:

FactorWhat it means
Usable capacityHow much space you actually get for your data
Fault toleranceHow many drives can fail before you lose data
Rebuild safetyHow likely you are to lose data during a rebuild

No layout maximizes all three. Your job is to pick the right balance for your data.

Understanding drive capacity: TB vs TiB

Before comparing layouts, understand why your 8TB drive does not show as 8TB in ZFS.

Manufacturers use decimal (base-10): 1 TB = 1,000,000,000,000 bytes. ZFS and most operating systems use binary (base-2): 1 TiB = 1,099,511,627,776 bytes.

8 TB (manufacturer) = 8,000,000,000,000 bytes
8,000,000,000,000 梅 1,099,511,627,776 = 7.27 TiB (what ZFS reports)

This is not ZFS stealing space. It is a unit conversion difference. All calculations below use the actual usable TiB after this conversion.

ZFS layouts explained

Diagram comparing Mirror, RAIDZ1, RAIDZ2 and RAIDZ3 layouts with data and parity drive distribution
Visual comparison of the four main ZFS layouts. Mirror duplicates data across drives. RAIDZ1 uses one parity drive, RAIDZ2 uses two, and RAIDZ3 uses three. More parity drives mean higher fault tolerance but less usable capacity.

Mirror (RAID 1 equivalent)

Two or more drives store identical copies of all data.

DrivesUsable capacityFault toleranceBest for
2 脳 8TB7.27 TiB1 driveBoot pool, small critical data
4 脳 8TB (2 mirror vdevs)14.55 TiB1 drive per vdevPerformance-focused storage
4 脳 8TB (4-way mirror)7.27 TiB3 drivesMaximum safety, small capacity

Pros: Fastest read performance, simplest rebuild (just copy from the surviving mirror), lowest rebuild risk.

Cons: Lowest capacity efficiency (50% for 2-way mirror).

When to use: Boot pools, databases, VM storage, or any workload where read performance and rebuild safety matter more than raw capacity.

RAIDZ1 (RAID 5 equivalent)

One drive’s worth of capacity is used for parity.

DrivesUsable capacityFault toleranceRebuild risk
3 脳 8TB14.55 TiB1 driveHigh for large drives
4 脳 8TB21.82 TiB1 driveHigh for large drives
5 脳 8TB29.09 TiB1 driveModerate

Pros: Good capacity efficiency (67-80% with 3-5 drives).

Cons: During a rebuild, all remaining drives are read completely. With large drives (8TB+), the probability of encountering an Unrecoverable Read Error (URE) during rebuild becomes significant. A single URE during rebuild can corrupt the entire array.

When to use: Non-critical data, temporary storage, or when you have a reliable backup and need maximum capacity. Not recommended for primary data with large drives.

RAIDZ2 (RAID 6 equivalent)

Two drives’ worth of capacity is used for parity.

DrivesUsable capacityFault toleranceRebuild risk
4 脳 8TB14.55 TiB2 drivesLow
5 脳 8TB21.82 TiB2 drivesLow
6 脳 8TB29.09 TiB2 drivesLow
8 脳 8TB43.64 TiB2 drivesLow

Pros: Can survive two simultaneous drive failures. Rebuild risk is dramatically lower than RAIDZ1 because a second failure during rebuild does not cause data loss.

Cons: Lower capacity efficiency than RAIDZ1 (50-75%).

When to use: The recommended default for most home servers. Good balance of capacity, safety, and rebuild reliability.

RAIDZ3 (triple parity)

Three drives’ worth of capacity is used for parity.

DrivesUsable capacityFault toleranceRebuild risk
6 脳 8TB21.82 TiB3 drivesVery low
8 脳 8TB36.37 TiB3 drivesVery low
10 脳 8TB50.91 TiB3 drivesVery low

Pros: Maximum fault tolerance. Can survive three simultaneous failures.

Cons: Lowest capacity efficiency. Requires at least 4 drives (practically 6+).

When to use: Large arrays (8+ drives) where rebuild time is long and data is critical. Overkill for most home servers.

Terminal output showing internal NVMe SSD storage information and SMART health status
Internal NVMe SSD on the tested EQi12. SMART health check shows the drive is in good condition. When planning a ZFS pool, always verify drive health with SMART before adding drives to a vdev 鈥?a degraded drive will compromise the entire array.

Traditional RAID comparison

If you are using hardware RAID or mdadm instead of ZFS, the capacity math is similar but the behavior differs.

LayoutFormula4 脳 8TB usableFault tolerance
RAID 0n 脳 drive29.09 TiB0 drives
RAID 1drive 脳 (n/2)14.55 TiB1 drive (per mirror pair)
RAID 5(n-1) 脳 drive21.82 TiB1 drive
RAID 6(n-2) 脳 drive14.55 TiB2 drives
RAID 10drive 脳 (n/2)14.55 TiB1 drive (per mirror pair)

ZFS vs hardware RAID: ZFS RAIDZ and traditional RAID use the same capacity formulas, but ZFS has advantages: no write hole (copy-on-write), checksums on every block, self-healing with scrub, and no need for a RAID controller. For a home server, ZFS software RAID is generally preferred over hardware RAID.

Real-world planning examples

Example 1: Media server with 4 drives

Goal: Store a growing media library (movies, TV, music) with reasonable safety.

Recommendation: RAIDZ2 with 4 脳 8TB drives.

Raw capacity: 4 脳 8TB = 32 TB
Usable capacity: (4-2) 脳 7.27 TiB = 14.55 TiB
Fault tolerance: 2 drives

14.55 TiB holds approximately:

Use the Media Storage Calculator to plan your specific library size.

Example 2: Backup server with 6 drives

Goal: Store backups of multiple machines with maximum safety.

Recommendation: RAIDZ2 with 6 脳 12TB drives, plus one hot spare.

Raw capacity: 6 脳 12TB = 72 TB
Usable capacity: (6-2) 脳 10.91 TiB = 43.64 TiB
Fault tolerance: 2 drives (+ 1 hot spare for automatic rebuild)

Example 3: Budget NAS with 2 drives

Goal: Simple file storage on a tight budget.

Recommendation: Mirror with 2 脳 4TB drives.

Raw capacity: 2 脳 4TB = 8 TB
Usable capacity: 1 脳 3.64 TiB = 3.64 TiB
Fault tolerance: 1 drive

For 2-drive setups, mirror is the only safe option. RAIDZ1 requires at least 3 drives and is not recommended for 2-drive configurations.

The URE problem: why RAIDZ1 is risky with large drives

Unrecoverable Read Errors (URE) are the hidden danger of single-parity layouts.

Consumer drives typically have a URE rate of 1 in 10^14 bits (about 12.5 TB). Enterprise drives improve this to 1 in 10^15 bits (about 125 TB).

During a RAIDZ1 rebuild, every byte on every surviving drive must be read. With 4 脳 8TB drives in RAIDZ1:

Data to read during rebuild: 3 脳 7.27 TiB = 21.82 TiB = 192 Tb
URE probability: 192 Tb 梅 125 Tb (enterprise) = 1.54 expected UREs

This means you are likely to encounter at least one URE during a RAIDZ1 rebuild with large enterprise drives, and almost certain with consumer drives. A single URE during rebuild can corrupt the entire array.

This is the primary reason RAIDZ2 is recommended over RAIDZ1 for any data you care about.

How to choose: decision framework

How many drives?
鈹溾攢鈹€ 2 drives 鈫?Mirror
鈹溾攢鈹€ 3-4 drives 鈫?RAIDZ2 (or mirror if performance matters)
鈹€鈹€ 5-8 drives 鈫?RAIDZ2
鈹斺攢鈹€ 8+ drives 鈫?RAIDZ2 or RAIDZ3

How critical is the data?
鈹溾攢鈹€ Can lose it 鈫?RAIDZ1 is acceptable
鈹溾攢鈹€ Important but backed up 鈫?RAIDZ2
鈹斺攢鈹€ Cannot lose it 鈫?RAIDZ2 + offsite backup, or RAIDZ3

What is the workload?
鈹溾攢鈹€ Random reads (VMs, databases) 鈫?Mirror vdevs
鈹溾攢鈹€ Sequential reads (media) 鈫?RAIDZ2
鈹斺攢鈹€ Mixed 鈫?RAIDZ2 with adequate RAM for ARC
External USB SSD storage setup connected to mini PC for testing
External USB SSD connected to the EQi12 for storage testing. USB storage can be added to a ZFS pool as a separate vdev, but USB connections are less reliable than internal SATA or NVMe for long-term storage. For primary data, prefer internal drives.

Common mistakes to avoid

1. Mixing drive sizes in a vdev

ZFS limits each vdev to the size of the smallest drive. A 4TB drive mixed with 8TB drives wastes 4TB of capacity on each larger drive. Always use identical drives within a vdev.

2. Not planning for growth

ZFS pools can be expanded by adding new vdevs, but individual vdevs cannot be expanded. Plan your vdev size based on where you want to be in 2-3 years, not where you are today.

3. Ignoring RAM requirements

ZFS uses RAM for its Adaptive Replacement Cache (ARC). General guidance: 1GB of RAM per 1TB of storage, with a minimum of 8GB for a home server. More RAM improves read performance significantly.

4. Skipping regular scrubs

ZFS scrub reads all data and verifies checksums, silently repairing any corruption found. Run scrub monthly for home servers. The EQi12 completed a scrub of its test pool in about 45 minutes for a small dataset.

5. No offsite backup

RAID is not backup. It protects against drive failure, not against accidental deletion, ransomware, fire, or theft. Follow the 3-2-1 rule: 3 copies, 2 different media, 1 offsite.

Next steps