PartsPrices › Blog › How RAID works

More drives make parity cheaper, but rebuilds longer

Side by side, the levels trade space against safety in a predictable way. Parity levels waste less space as the array grows, while large drives stretch the risky rebuild window from hours to days.

The levels at a glance

Example column: four 8 TB drives, 32 TB raw.

LevelMin drivesUsable from 4 × 8 TBFailures survivedRead speedWrite speedWrite penaltyBest for

Write penalty: how many drive operations one small random write costs. Speed dots are relative to the other levels with the same drives.

Space you keep, by number of drives

RAID 5 always gives up one drive's worth of space, RAID 6 two. With 3 drives that is a third of your space; with 10 drives, a tenth. Mirrored layouts keep half, however many drives you add.

This is why large arrays almost always use parity, and why RAID 6 becomes attractive from around 6 drives: the second parity drive costs a small slice of the whole.

Mixed sizes: classic RAID treats every drive as if it were the smallest one. A 4 TB drive in an array of 8 TB drives makes them all count as 4 TB. Vendor modes like SHR or Unraid avoid this.

A rebuild reads every drive end to end

After a failure, the array has to read the surviving drives in full and write a complete new drive. Time depends on the size of one drive, not of the whole array, and on how fast the drives can be read while you keep using them.

About 150 MB/s is typical for a hard drive array that is also in use; an idle array of modern drives can reach 200 to 250 MB/s, SSDs much more. Busy arrays can drop below 50 MB/s.

Spec-sheet error risk during a RAID 5 rebuild

Drive makers quote an "unrecoverable read error" rate: one unreadable bit per 1014 bits read for desktop drives, per 1015 for NAS and enterprise drives. Taken literally, here is how many such errors a rebuild of a 4-drive RAID 5 would expect:

Drive sizeData readDesktop specNAS spec

Real drives usually do far better than these worst-case ratings, and many systems skip a bad sector rather than fail the whole rebuild. The trend is what matters: bigger drives, more risk, so prefer RAID 6 for large drives.

Hours to rebuild one drive

Bars over 24 hours are marked in orange: more than a full day with reduced or no protection.

Which level should you pick?

RAID 1You have 2 drives

A two-bay NAS or two disks in a PC. Mirroring is the only protected option and the easiest to recover.

RAID 53 to 5 drives of 4 TB or less

Mostly reading: photos, music, films. Good space efficiency with one-drive protection.

RAID 65 or more drives, or drives over 8 TB

The safe default for large home and office arrays. Survives a second failure during a long rebuild.

RAID 10Speed matters and so does safety

Databases, virtual machines, video teams editing from shared storage. Needs an even number of drives.

RAID 0Speed only, data is replaceable

Scratch disks and caches. Always keep the real files somewhere else.

No RAIDOne drive plus good backups

For many home users, a single drive with automatic cloud or external backups protects more than RAID alone.

Hard drives or SSDs?

RAID works the same with both. Hard drives cost far less per terabyte and dominate big arrays. SSDs rebuild in a fraction of the time and make RAID 5's write penalty matter less, which makes RAID 5 reasonable again for SSD arrays.

Pick drives meant for always-on use (NAS or enterprise models). Many cheap desktop hard drives use SMR recording, which can make rebuilds extremely slow or cause the array to drop the drive; check the spec sheet for CMR.

Consider buying drives from two different batches or shops: drives made together tend to fail around the same time.

Words you will meet

Array
The group of drives working as one.
Stripe, chunk
A row of blocks across all drives; one block on one drive.
Degraded
Running with a failed drive; still working, no longer protected.
Rebuild, resilver
Filling a replacement drive with the missing data.
Hot spare
A spare drive kept installed so a rebuild starts on its own.
Hot-swap
Replacing a drive without switching the system off.
Scrub
A scheduled read of the whole array to find and fix bad sectors early.
TB and TiB
Drive makers count 1 TB = 1012 bytes; Windows shows TiB (240 bytes), about 9% smaller.

Rebuild times are estimates: real rebuilds vary with load, drive model and controller.