Choosing a RAID level: 0, 1, 5, 6, 10 and RAID-Z compared
What each level costs in capacity, what it protects against, and why disk size changed the answer for RAID 5.
Run the check
Choosing a RAID level is a trade between three things that cannot all be maximised: how much of the disks you keep, how many failures you survive, and how fast it writes. Every level sits at a different point on that triangle, and the right one depends on what the array is for.
Start with what you are protecting against
RAID protects against exactly one failure mode: a disk dying. It does nothing about a file deleted by mistake, corruption, ransomware, theft or fire, all of which reach every disk at once. If one of those is what worries you, the answer is a backup, and the RAID level is a separate question about uptime and capacity. The RAID calculator answers the capacity half for any set of disks.
The levels, in order of how much you keep
RAID 0: everything, protected by nothing
Striping with no redundancy. You keep 100% of the capacity and get the best throughput of any level, and one disk failure destroys the array — a risk that compounds, since an eight-disk RAID 0 is eight times as likely to fail as a single disk.
It has real uses — scratch space, a rendering cache, anything regenerated in an afternoon — and no business holding anything you would miss.
RAID 1: half, and the simplest recovery there is
Two disks holding identical copies, so you keep one disk's worth. Its underrated advantage is recovery: a RAID 1 member is usually a readable disk in its own right, so a dead controller does not mean a lost array.
RAID 10: half, and the fastest writes
Mirrored pairs striped together. Still 50% efficiency, but with the performance of striping on top. No parity means no read-modify-write cycle, so the write penalty is 2 against 4 for RAID 5 and 6 for RAID 6.
Be precise about its fault tolerance. One failure is always survivable; beyond that it depends which disks go. In four pairs, four failures survive if each lands in a different pair, but two are fatal in the same pair. "Survives half the disks" quotes the best case as though it were the guarantee.
The rebuild is its other strength: one disk copied to one disk, with no load on the rest of the array, in a fraction of the time a parity rebuild takes.
RAID 5: all but one disk, with a caveat that has grown
One disk's worth of parity, distributed. Four disks keep 75%, eight keep 87.5% — the appeal is obvious, and for years it was the default.
What changed is disk size. Rebuilding reads every sector of every surviving disk, which on 8 TB disks takes many hours and often more than a day under load, with no redundancy for any of it. Two things end it: a second failure, made likelier by the rebuild hammering disks of the same age and batch, or a single unrecoverable read error, which published specifications put at roughly one sector per 10^14 to 10^15 bits read.
RAID 5 remains reasonable on disks up to about 4 TB holding data you can restore from elsewhere. Past that, pick double parity.
RAID 6: all but two disks, and the default for large arrays
Two independent parity calculations, so any two disks can fail. That second parity is what makes a rebuild survivable: a failure or a read error during recovery no longer ends the array.
The cost is a write penalty of 6 and, at narrow widths, poor economics: at four disks you give up half the capacity, which is what RAID 10 costs while writing several times faster. RAID 6 starts paying at six disks and is clearly right from eight, where you keep 75% and survive any two failures.
RAID 50 and 60: parity groups, striped
Several RAID 5 or RAID 6 groups striped together. Parity is paid per group, so a 12-disk RAID 50 in two groups gives up two disks rather than one; in exchange each rebuild touches only its own group. These earn their place in large enclosures where one wide parity array would rebuild uncomfortably slowly.
RAID-Z1, Z2 and Z3: the same arithmetic, different foundations
ZFS's parity levels match RAID 5, RAID 6 and triple parity for capacity; what differs underneath is the reason to choose them. ZFS writes variable-width full stripes, so it never reads a stripe back to update part of it: no write penalty in the conventional sense, and no write hole. And every block is checksummed, so a disk returning wrong data without reporting an error is detected and repaired from parity — which a conventional array cannot do, having no way to know which copy is right.
Z2 is the sensible default for most pools. Z3 is for wide groups of very large disks. Z1 carries the same rebuild exposure as RAID 5, so keep it for small groups of small disks.
A short way to decide
- Scratch data you can regenerate — RAID 0, and keep it small.
- A boot pair or small server — RAID 1.
- Databases, virtual machines, mail — RAID 10. Writes dominate and latency matters.
- Bulk storage on disks up to 4 TB — RAID 5 is defensible if you have backups.
- Bulk storage on larger disks — RAID 6, or RAID-Z2 if you are on ZFS.
- Sixteen disks or more — RAID 60 or several RAID-Z2 vdevs, rather than one very wide group.
Compare RAID levels side by side for your own disk count and size: seeing every valid level at once usually settles it faster than reasoning about it does.
Then check the capacity
Once you have a level in mind, work out usable capacity for the disks you are actually buying — and remember that the figure your operating system reports will be about 10% lower again, because drive makers count in decimal terabytes and operating systems count in binary tebibytes. Nothing is missing; the units differ.
More in the guides index.