RAID 5 with four 12 TB drives: longer rebuilds and when to step up to RAID 6

By TechCompare · Updated · How we check

RAID 5 on 12 TB drives is fine for data you can replace or back up elsewhere. For data you can't lose, use RAID 6 or RAID-Z2, even though they cost a drive's worth of space at this size.

Calculator

RAID Calculator

Usable Capacity
36 TB
Total Capacity
48 TB

Storage Efficiency

75%
Fault Tolerance:

Survives 1 drive failure

RAID 5 with four 12 TB drives uses the same four-bay layout, with one drive's worth of parity. You get 36 TB usable from 48 TB raw, a 25% overhead. The layout hasn't changed, but the drives have, and bigger drives change how long a rebuild runs and how much data it reads. The RAID 5 with 4×4 TB page covers the 4 TB version of this layout.

How this is calculated

A rebuild reads every bit of the three survivors, 36 TB in total, and writes a full replacement drive. On a quiet array, one 12 TB drive takes at best 21 hours to read in full at the calculator's modeled HDD speed. Real rebuilds run slower when the array is busy.

That's longer than a 4 TB drive, which takes 7 hours at best. The 12 TB rebuild takes 3 times as long.

The longer read also has more chances to hit an unrecoverable read error. At a spec rate of 1 in 10^14 bits, the chance of at least one such error during that read is at most about 94.39%. That's an upper bound, since a spec rate is a ceiling and your drive may do better. Check your drive's datasheet for the rate it lists. At a spec rate of 1 in 10^15 bits, that bound is about 25.02%.

In this model, drive count sets the yearly risk, not drive size. At an assumed 2% yearly failure rate per drive, the chance that at least one of the four drives fails within a year is 7.76%. That 2% is a placeholder, not a measured rate for any drive. Size doesn't enter the formula, so four 4 TB drives carry the same figure.

At this size the real question is whether one parity drive is enough. RAID 6 and ZFS RAID-Z2 both keep two drives' worth of parity, so a second failure during a rebuild doesn't end the array. OpenZFS puts it this way: the raidz2 vdev type "specifies a double-parity raidz group." On four 12 TB drives, RAID 6 gives 24 TB usable and RAID-Z2 gives 24 TB, against 36 TB for RAID 5.

Four drives in RAID 6 give less space, 24 TB against 36 TB, and that's the price of the second parity drive.

Five 12 TB drives in RAID 6 give 36 TB, the same as four in RAID 5.

Verdict

Keep RAID 5 on four 12 TB drives only when the data can be replaced or is backed up somewhere else. The layout gives 36 TB usable from 48 TB raw, with one drive of parity. A rebuild has to read 36 TB from three drives with no spare parity left.

The best case is 21 hours on a quiet array, and a busy array takes longer. A read error during the rebuild is possible, at most about 94.39% at a spec rate of 1 in 10^14 bits. Check your drive's datasheet for its rate.

For data that matters, RAID 6 or RAID-Z2 makes more sense at this size. Both keep two drives' worth of parity, so a second failure during the rebuild doesn't end the array. Five 12 TB drives in RAID 6 give 36 TB, and four give 24 TB.

More RAID scenarios

RAID 0 with 2×2 TB
RAID 0 with two 2 TB drives stripes data across both disks, giving you 4 TB of usable capacity and roughly double the sequential read and write speeds of a single drive.
View details
RAID 1 with 2×4 TB
RAID 1 with two 4 TB drives mirrors all data identically across both disks, giving you 4 TB of usable capacity from 8 TB of raw storage.
View details
RAID 5 with 4×4 TB
RAID 5 with four 4 TB drives uses single distributed parity, giving you 12 TB of usable capacity (3 drives' worth) from 16 TB raw.
View details

Frequently asked questions

Is RAID 5 safe with 12 TB drives?
Not on its own for data you can't lose. It carries more risk than the 4 TB version, mainly because a rebuild runs longer and reads more data. A 12 TB rebuild takes 21 hours at best on a quiet array, and it reads 36 TB from the three survivors. RAID 6 or RAID-Z2 is the safer pick for that data.
How long does a RAID 5 rebuild take with 12 TB drives?
At best 21 hours on a quiet array. That's the time to read one full 12 TB drive at the calculator's modeled HDD speed. Real rebuilds take longer when the array is busy, and the actual time depends on the drives and the controller.
Should I use RAID 6 or ZFS Z2 instead of RAID 5 with 12 TB drives?
For data you can't lose, yes. Both keep two drives' worth of parity, so a second failure during a rebuild doesn't end the array. Five 12 TB drives in RAID 6 give 36 TB, the same as four in RAID 5. Four drives in RAID 6 give 24 TB, so the second parity costs one drive's worth of space.