Hardware
RAID Levels Explained: RAID 0, 1, 5, 6 and 10
RAID levels explained: how RAID 0, 1, 5, 6 and 10 store data, their capacity, speed and fault tolerance, rebuild risk with big drives, and which to pick.
RAID levels are the standard ways of combining several drives into one storage volume, trading capacity, speed and protection against drive failure. RAID 0 stripes data across drives for speed, with no protection. RAID 1 mirrors data so either drive can fail. RAID 5 and RAID 6 spread data plus parity across drives, surviving one or two failures with little wasted space. RAID 10 combines mirroring and striping for speed and safety at the cost of half the capacity.
No level is best for everything. The right choice depends on how much capacity you need, how fast the volume must be, how many drive failures you want to survive and how long a rebuild would take. This guide explains what RAID is, how each level works, compares them with a capacity table for real drive counts, works through the rebuild risk with large drives and ends with clear picks for a NAS, a database server and a workstation.
RAID Levels at a Glance
| Level | How it works | Minimum drives | Usable capacity | Drive failures survived | Read speed | Write speed | Best for |
|---|---|---|---|---|---|---|---|
| RAID 0 | Striping | 2 | 100% | None | Very high | Very high | Scratch space, caches, temporary data |
| RAID 1 | Mirroring | 2 | 50% (with 2 drives) | 1 | High | Same as one drive | Boot drives, small servers |
| RAID 5 | Striping with single parity | 3 | (n − 1) ÷ n | 1 | High | Slower (parity overhead) | Read-heavy storage with smaller drives |
| RAID 6 | Striping with double parity | 4 | (n − 2) ÷ n | 2 | High | Slower than RAID 5 | Large-drive NAS and archives |
| RAID 10 | Mirrored pairs, striped | 4 | 50% | 1 per mirror pair (at least 1) | Very high | High | Databases, virtual machines |
Here n is the number of drives. All drives in an array should be the same size; larger drives are treated as the size of the smallest.
What Is RAID?
What is RAID? The name stands for redundant array of independent disks (originally "inexpensive disks"). The idea comes from a 1988 paper by David Patterson, Garth Gibson and Randy Katz at Berkeley, "A Case for Redundant Arrays of Inexpensive Disks", which argued that arrays of cheap PC drives could beat large, expensive single disks on performance and reliability. The paper described five levels; the numbering stuck, though RAID 2, 3 and 4 have largely disappeared from use.
RAID uses three building blocks:
- Striping: splitting data into chunks and writing them across several drives at once, so reads and writes run in parallel.
- Mirroring: writing identical copies to two or more drives.
- Parity: storing calculated values (using XOR for single parity) that let the array rebuild the data from a lost drive using the remaining drives.
RAID can be run by a hardware controller, by the operating system (Linux mdadm, Windows Storage Spaces) or by a filesystem with built-in RAID such as ZFS or Btrfs. Our guide to a home server vs a NAS covers where each fits.
The Standard RAID Levels
RAID 0: striping
Data is split into blocks written alternately across all drives. With two drives, each file is read from both at once, which can almost double sequential speed. Capacity is the total of all drives.
The catch: there's no redundancy. If any one drive fails, the whole array is lost, and more drives mean more chances of a failure. Use RAID 0 only for data you can recreate, such as a video-editing scratch disk or a cache.
RAID 1: mirroring
Every write goes to two drives (or more), which hold identical copies. If one fails, the other carries on, and the replacement is filled by copying from the survivor. Reads can come from either drive, so they can be faster; writes run at the speed of a single drive.
RAID 1 is simple and reliable, and the standard choice for a two-drive system or a server's boot drives. The cost is half your raw capacity.
RAID 5: striping with single parity
Data and parity are striped across at least three drives, with the parity rotating between drives. One drive's worth of space holds parity, so four 8 TB drives give 24 TB usable. Any one drive can fail; the array rebuilds its contents from the other drives' data and parity.
Writes are slower because each one updates parity, which needs extra reads and writes. Rebuilds read every surviving drive in full, and a second failure during a rebuild loses the array. With today's large drives, that rebuild window is RAID 5's weak point (see the rebuild risk section below).
RAID 6: striping with double parity
Like RAID 5, but with two independent parity blocks per stripe, so any two drives can fail. Two drives' worth of space holds parity: six 8 TB drives give 32 TB usable. Writes are slower than RAID 5 because both parities are updated.
RAID 6 has become the usual choice for large-drive NAS boxes and archives, because it survives a second failure or a read error during a rebuild.
RAID 10: striped mirrors
Drives are paired into mirrors, and data is striped across the pairs. Four drives make two mirrored pairs; capacity is half the raw total. RAID 10 survives at least one failure, and up to one per pair, as long as both drives in the same pair don't fail.
It has the best write performance of the redundant levels, since there's no parity to calculate, and rebuilds are fast because they only copy one mirror. That makes it the favourite for databases and virtual machine storage.
Capacity by Drive Count
Usable capacity with 8 TB drives:
| Drives | Raw | RAID 0 | RAID 10 | RAID 5 | RAID 6 |
|---|---|---|---|---|---|
| 4 | 32 TB | 32 TB | 16 TB (50%) | 24 TB (75%) | 16 TB (50%) |
| 6 | 48 TB | 48 TB | 24 TB (50%) | 40 TB (83%) | 32 TB (67%) |
| 8 | 64 TB | 64 TB | 32 TB (50%) | 56 TB (88%) | 48 TB (75%) |
Parity levels get more efficient as arrays grow, because the parity overhead is fixed at one or two drives. At four drives, RAID 6 and RAID 10 give the same capacity; at eight, RAID 6 gives 50% more.
RAID 5 vs RAID 6
RAID 5 vs RAID 6 comes down to how much risk you accept during a rebuild.
When a RAID 5 drive fails, the array must read every bit on every surviving drive to rebuild. Two things can go wrong:
- A second drive fails. Drives from the same batch, with the same age and workload, sometimes fail close together, and a rebuild is heavy work for the survivors.
- An unrecoverable read error (URE). Drive datasheets rate how often a sector can't be read. Many NAS and desktop drives, such as WD Red Plus, are specified at fewer than 1 error per 10¹⁴ bits read; many enterprise drives are specified at 1 per 10¹⁵. With RAID 5 in a degraded state, an unreadable sector on a surviving drive has no parity left to fix it.
Worked example: the rebuild risk on paper
Take RAID 5 with 8 TB drives. One drive fails, and the rebuild reads all the others. Treating the datasheet figure as the actual error rate gives:
| Array | Data read in rebuild | Expected UREs at 1 in 10¹⁴ | Chance of a clean rebuild | Expected UREs at 1 in 10¹⁵ | Chance of a clean rebuild |
|---|---|---|---|---|---|
| 4 × 8 TB | 24 TB | 1.92 | about 15% | 0.19 | about 83% |
| 6 × 8 TB | 40 TB | 3.20 | about 4% | 0.32 | about 73% |
| 8 × 8 TB | 56 TB | 4.48 | about 1% | 0.45 | about 64% |
These figures are pessimistic. Datasheet ratings are upper limits ("fewer than"), and real drives usually do far better. Many controllers and filesystems also mark a single bad sector as damaged without abandoning the whole rebuild. But the trend is real: the bigger the drives and the more of them, the more a rebuild has to read, and the less comfortable a single parity drive becomes. That's the main reason RAID 6, or RAID 10, has largely replaced RAID 5 for multi-terabyte arrays.
| RAID 5 | RAID 6 | |
|---|---|---|
| Drive failures survived | 1 | 2 |
| Capacity lost to parity | 1 drive | 2 drives |
| Write performance | Better | Lower |
| Rebuild exposure | No protection during rebuild | Still protected against one more failure or read error |
| Good fit | Small drives, fast rebuilds, data backed up elsewhere | Large drives, NAS, archives |
RAID 1 vs RAID 5
RAID 1 vs RAID 5 is usually a question of how many drives you have. With two drives, RAID 1 is the only redundant option. With three or more, RAID 5 gives more usable space: three 8 TB drives give 16 TB with RAID 5 versus 8 TB with a two-way mirror. RAID 1 is simpler, rebuilds faster and has no parity write penalty, so it's still the better fit for boot drives and small servers.
RAID 10 vs RAID 5
RAID 10 vs RAID 5 is a performance-versus-capacity trade:
- RAID 10 has faster random writes (no parity), faster rebuilds (one drive copied, not all read) and survives more failure patterns. It loses half the raw capacity.
- RAID 5 gives far more usable space, but writes are slower and rebuilds are long and risky with large drives.
For databases, virtual machines and anything with lots of small random writes, RAID 10 is the usual choice. For bulk storage that is mostly read, RAID 6 usually beats both.
Hardware, Software and Filesystem RAID
| Type | Examples | Pros | Cons |
|---|---|---|---|
| Hardware RAID | Controller cards in servers | Offloads work; battery- or flash-backed write cache | Card failure can need the same model to recover; less visibility |
| Software RAID | Linux mdadm, Windows Storage Spaces | Free, portable between machines, transparent | Uses some CPU; no protected write cache by default |
| Filesystem RAID | ZFS (mirrors, RAIDZ1/2/3), Btrfs | Checksums detect and repair silent corruption; snapshots | More memory use; learning curve; Btrfs parity RAID is not recommended for production |
ZFS's RAIDZ1, RAIDZ2 and RAIDZ3 are its equivalents of RAID 5, RAID 6 and triple parity, with the advantage that checksums let it identify which copy of a block is correct.
Which RAID Level Should You Use?
| Use case | Recommended level | Why |
|---|---|---|
| Two-drive NAS or desktop | RAID 1 | Only redundant option with two drives |
| Four- to eight-drive home or office NAS with large drives | RAID 6 (or RAIDZ2) | Survives two failures; good capacity |
| Database or virtual machine host | RAID 10 | Best random write performance and fast rebuilds |
| Video editing scratch disk | RAID 0 | Maximum speed for data you can recreate |
| Server boot drives | RAID 1 | Simple, reliable, fast to rebuild |
| Very large archive arrays | RAID 6 or triple parity | Long rebuilds need extra protection |
For SSD arrays, rebuilds are much faster and read errors rarer, so RAID 5 is more acceptable than with large hard drives, though RAID 10 remains popular for performance. Our comparison of NVMe vs SATA covers the drive side of the choice.
RAID Is Not a Backup
RAID protects against drive failure. It doesn't protect against deleting the wrong folder, ransomware, a failed controller corrupting the array, fire, theft or a bug that writes bad data, because every one of those changes is faithfully applied to all drives at once. Keep separate backups, ideally following the 3-2-1 rule: three copies, on two kinds of media, one off site. Our guide to RPO vs RTO helps set how much data you can afford to lose and how fast you need it back.
Common Mistakes
- Using RAID 5 with large hard drives and no backup.
- Buying all drives from one batch and never replacing them, so they age together.
- Ignoring drive health alerts until a second drive fails.
- No hot spare or spare drive on the shelf, stretching the time the array runs degraded.
- Treating RAID as a backup.
- Not testing a rebuild before you need one.
FAQ
Which RAID level is best?
There isn't one best level. RAID 10 is best for performance with redundancy, RAID 6 for capacity with strong protection, and RAID 1 for simple two-drive setups.
Can RAID 10 survive two drive failures?
Sometimes. It survives two failures if they're in different mirror pairs, but not if both drives of the same pair fail.
How long does a RAID rebuild take?
It depends on drive size, speed and load. Large hard drives can take a day or more to rebuild in a parity array, which is why rebuild risk matters.
Is RAID 0 ever a good idea?
Yes, for temporary or easily recreated data where speed matters, such as caches and scratch disks. Never for the only copy of anything.
Can you mix drive sizes in RAID?
Classic RAID treats every drive as the size of the smallest. Some systems, such as Synology Hybrid RAID or ZFS with separate vdevs, use mixed sizes more efficiently.