RAID 6 is a redundant array level that stripes data across at least four drives and stores two independent parity blocks for every stripe, so the array keeps working after the simultaneous failure of any two drives. In server storage, it is the standard choice when large-capacity disks make a second failure during a rebuild a realistic risk.
RAID 6 extends the idea of RAID 5 with an additional parity calculation. The price of this double fault tolerance is the capacity of two drives and a higher write cost, which makes it a capacity-oriented level for archives, backups, file servers and media storage rather than for latency-sensitive databases.
How dual parity protects a RAID 6 array
Each stripe in RAID 6 contains data blocks plus two parity blocks, usually called P and Q. The P parity is a simple XOR of the data blocks, identical to RAID 5. The Q parity uses Reed-Solomon coding over a Galois field, so it is mathematically independent of P and allows the controller to solve for two unknown blocks instead of one.
Parity blocks rotate across all drives from stripe to stripe. This distribution prevents a single dedicated parity disk from becoming a bottleneck, which was the main weakness of the older RAID 3 and RAID 4 designs. Some implementations use alternative schemes such as row-diagonal parity, but the protection goal is the same.
The table below shows how the array reacts to different failure states.
| Failed drives | Array state | Data access |
|---|---|---|
| None | Optimal | Full speed, both parities current |
| One | Degraded | Reads rebuilt from P parity, still protected by Q |
| Two | Critically degraded | Reads rebuilt from P and Q, no remaining redundancy |
| Three or more | Failed | Data lost, restore from backup required |
Capacity, performance and key parameters
Usable capacity in RAID 6 equals (n minus 2) times the smallest drive size, where n is the number of drives. The overhead is therefore 50 percent with four drives but falls to about 17 percent with twelve, which is why RAID 6 becomes more efficient as arrays grow.
Performance depends on the operation type. Reads are served from all drives in parallel, but every small random write triggers a read-modify-write cycle that reads old data and both parities, then writes new data and both parities. This produces a write penalty of six I/O operations per logical write, compared with four for RAID 5 and two for RAID 1.
| Parameter | Typical value | What it affects |
|---|---|---|
| Minimum drives | 4 | Smallest possible array |
| Usable capacity | n minus 2 drives | Storage efficiency |
| Write penalty | 6 back-end I/O per write | Random write IOPS |
| Stripe unit size | 64 KB to 1 MB | Sequential throughput and small-write cost |
| Practical array width | 6 to 16 drives | Rebuild time and failure exposure |
Large sequential writes avoid the penalty when the controller can write full stripes, computing both parities from new data without reading anything back. A battery-backed or flash-protected write cache on a hardware RAID controller helps by coalescing small writes into full-stripe writes.
RAID 6 compared with RAID 5, RAID 10 and ZFS RAID-Z2
RAID 6 trades write speed for protection, while its neighbors make different compromises. The comparison helps match the level to the workload.
| Layout | Fault tolerance | Capacity efficiency | Random write cost |
|---|---|---|---|
| RAID 5 | Any one drive | n minus 1 drives | Medium, penalty of 4 |
| RAID 6 | Any two drives | n minus 2 drives | High, penalty of 6 |
| RAID 10 | One per mirror pair, sometimes more | 50 percent | Low, penalty of 2 |
| RAID-Z2 in ZFS | Any two drives per vdev | n minus 2 drives | Variable stripe width, no write hole |
RAID-Z2 in ZFS provides the same two-drive tolerance but integrates parity with the file system, using copy-on-write and end-to-end checksums to avoid the classic RAID write hole, where a power loss leaves data and parity inconsistent. Traditional RAID 6 relies on cache protection or journaling to address that risk.
Why RAID 6 matters with large drives
The strongest argument for RAID 6 is rebuild exposure. When one drive in a RAID 5 array fails, every remaining drive must be read completely to rebuild the replacement. With drives of 16 TB or more, a rebuild can take a day or longer, and during that window a second failure or an unreadable sector destroys the array.
Drives in the same array often share a manufacturing batch, age and workload, so correlated failures are more common than independent statistics suggest. Unrecoverable read errors during a rebuild are another concern: RAID 6 can still correct a bad sector on a surviving drive while one disk is missing, whereas RAID 5 cannot.
The following decision table summarizes when RAID 6 is the appropriate choice.
| Situation | Recommendation | Reason |
|---|---|---|
| Backup target with large HDDs | RAID 6 | High capacity with safe rebuilds |
| Media or file archive | RAID 6 with hot spare | Rebuild starts immediately after failure |
| Transactional database | RAID 10 | Low write latency matters more than capacity |
| Very wide array above 16 drives | Split into several RAID 6 groups | Limits rebuild time and blast radius |
| Software-defined storage cluster | Erasure coding or ZFS | Redundancy handled across nodes |
Limitations and common mistakes
RAID 6 improves availability but is not a backup. Deletion, ransomware, file system corruption and controller faults affect all drives at once, so an independent backup copy remains mandatory.
- Using RAID 6 for write-heavy databases produces poor random write performance and high latency.
- Ignoring degraded alerts wastes the second level of protection; replace a failed drive promptly or configure a hot spare.
- Skipping periodic scrubbing lets latent sector errors accumulate until a rebuild exposes them.
- Building very wide single arrays lengthens rebuilds and raises the chance of a third failure.
Rebuild activity also reduces performance for hours or days, so administrators often limit rebuild priority during business hours and accept a longer exposure window in exchange for responsive service.
In everyday language
Imagine a team that writes down important notes and keeps two separate cheat sheets that can reconstruct anything that goes missing. If one notebook is lost, either cheat sheet fills the gap. If two notebooks are lost at the same time, the two cheat sheets together still recover everything.
RAID 6 does the same with hard drives. You can lose any two disks and still keep all your data. The trade-off is that two disks worth of space hold the safety information, and saving small changes takes a little longer.
Seen in the real world
A regional video production company stores raw footage on a file server with twelve 18 TB hard drives configured as RAID 6. The array provides about 180 TB of usable space, and a thirteenth drive sits in the chassis as a hot spare. Editors mostly read and write large sequential files, so the write penalty has little visible effect.
One night a drive fails, and the controller starts rebuilding onto the spare. The rebuild takes roughly 30 hours, and on the second day a sector on another disk returns a read error. Because the array still has the second parity, the controller corrects the bad sector and completes the rebuild without data loss. With RAID 5, the same event would have forced a restore of the affected footage from backup.