Storage layout advisor: which RAID or ZFS layout fits your drives?

Version 1.1.0

Compare the RAID and ZFS layouts your drives can build, see how much space and protection each gives, and get a best fit for how many failures you need to survive and what you store.

Have the size of each drive, as printed on its label.

Drives

2 / 64
Drive 1 capacity unit
Drive 2 capacity unit
Platform Required
Workload Required
Protected failures Required
Display unit Required

What to enter

Protected failures is the number of drives that can fail at once, in any order, without losing data. Only layouts that meet it are compared.

Workload changes the order of the list, not the space. VMs and databases put mirrors first, because they handle small random writes better. Bulk files and General put parity first, because it keeps more space.

For striped mirrors, drives pair up in the order you enter them, so put same-size drives next to each other.

Share layout makes a link with your inputs, so anyone you send it to can see them.

Four 8 TB drives, one protected failure

Example

With General, the best fit is RAID 5 or RAIDZ1 with 24 TB usable. RAID 6 and striped mirrors follow with 16 TB each. Switch to VMs and databases and striped mirrors move to the top.

Which RAID layout should I use?

Start from how many failed drives you must survive, then pick the layout that keeps the most space for what you store.

LayoutUsable from four 8 TB drivesSurvives
RAID 5 or RAIDZ124 TBAny 1 drive
RAID 6 or RAIDZ216 TBAny 2 drives
Striped mirrors, RAID 1016 TBAny 1 drive, up to one per pair

RAID 6 and striped mirrors tie on space but not on failures. RAID 6 survives any two failed drives. Striped mirrors survive two only if they sit in different pairs.

Mirrors suit VMs and databases because each small write touches fewer drives. The RAID calculator shows the write penalty for each level.

What does "best fit" mean?

It's the top of a ranked list, not a guarantee. The advisor drops layouts that miss your failure target, then ranks the rest by the share of space they keep, adjusted for your workload. It doesn't measure speed or predict reliability.

Why can my real pool hold less?

The result is the array size before a filesystem goes on it. ZFS RAIDZ also loses space to padding that depends on block size and pool width, so a RAIDZ1 can hold less than RAID 5 on the same drives. Use the ZFS capacity calculator for a closer ZFS number.

Check that your NAS or operating system supports the layout and the drive count. Adding a disk to an existing RAIDZ vdev is a separate question, covered by the RAIDZ expansion planner.