Skip to content
GEEKnodes

Computing

RAID Explained: RAID 0, 1, 5, 6 and 10 With Capacity Examples

What RAID is and how RAID 0, 1, 5, 6 and 10 work: usable capacity, how many drives can fail, speed, and why a RAID is never a substitute for a backup.

A RAID combines several drives so they work as one, faster, safer against failures, or both. It is the foundation of any NAS or server. This guide explains the most common levels with concrete numbers and clears up the most dangerous misunderstanding: believing a RAID protects your data like a backup.

In short

  • RAID 0 adds up speed and capacity, but if one drive fails you lose everything. RAID 1 mirrors the data onto two drives.
  • RAID 5 survives the loss of 1 drive and RAID 6 of 2. RAID 10 combines mirroring and striping.
  • A RAID protects against a drive failure, not against deletions, ransomware, theft or fire. It is not a backup.

What a RAID is

RAID stands for Redundant Array of Independent Disks. It is built on three techniques:

TechniqueWhat it doesEffect
StripingSplits data into blocks and spreads them across drivesMore speed
MirroringWrites the same data to two or more drivesFault tolerance
ParityStores a calculation that can rebuild a lost drive’s dataFault tolerance using less space

Each RAID level mixes these techniques differently.

The levels, one by one

RAID 0: speed without a net

Data is spread across all drives. A 1 GB file on 2 drives gets half written to each, at the same time.

  • Minimum: 2 drives.
  • Usable capacity: the sum of all of them.
  • Tolerance: none. If one drive fails, the whole array is lost.
  • Use: temporary work drives (video editing cache, for example) whose contents you can regenerate.

Note: with more drives the risk goes up, because any one of them failing is enough.

RAID 1: mirror

Every piece of data is written identically to two drives.

  • Minimum: 2 drives.
  • Usable capacity: that of a single drive.
  • Tolerance: survives one drive failing (with two drives).
  • Use: a two-bay home NAS, a server’s system drive.

It is the simplest and easiest to recover: each drive holds a full copy.

RAID 5: single parity

Data and parity are spread across all drives.

  • Minimum: 3 drives.
  • Usable capacity: all but one, that is, (N − 1) × drive size.
  • Tolerance: 1 drive.
  • Use: 3 or 4 bay NAS where using space well matters.

Its weak point is the rebuild: when you replace the failed drive, the system reads all the others for hours or days to regenerate the data. With large drives, a second failure or a read error in that period can lose the array.

RAID 6: double parity

Like RAID 5 but with two parity blocks.

  • Minimum: 4 drives.
  • Usable capacity: (N − 2) × drive size.
  • Tolerance: 2 drives at once.
  • Use: NAS with large drives or with 5 or more bays.

It writes somewhat slower than RAID 5 because it computes two parities, but it covers exactly the rebuild risk.

RAID 10 (1+0): mirror and stripe

Drives are first paired as mirrors (RAID 1) and then data is striped across the pairs (RAID 0).

RAID 10 with four drives: two mirrored pairs with data striped across the pairs
One drive per pair can fail, but never both from the same pair
  • Minimum: 4 drives, always an even number.
  • Usable capacity: half the total.
  • Tolerance: at least 1 drive; up to one per pair, as long as both of the same pair do not fail.
  • Use: databases and virtual machines, where speed and fast rebuilds matter.

Comparison table

LevelMinimum drivesUsable capacityDrives that can failRead speedWrite speed
RAID 02100%0Very highVery high
RAID 1250% (with 2 drives)1HighLike one drive
RAID 53(N − 1) / N1HighMedium
RAID 64(N − 2) / N2HighMedium-low
RAID 10450%1 guaranteed, up to N/2Very highHigh

Usable capacity examples

With 4 TB drives:

DrivesRAID 0RAID 1RAID 5RAID 6RAID 10
2 × 4 TB8 TB4 TB———
3 × 4 TB12 TB—8 TB——
4 × 4 TB16 TB—12 TB8 TB8 TB
6 × 4 TB24 TB—20 TB16 TB12 TB
8 × 4 TB32 TB—28 TB24 TB16 TB

Two details that surprise people when they see the real capacity:

  • Drives of different sizes: in classic RAID, all are used as if they were the smallest. With 4 TB + 4 TB + 2 TB in RAID 5 you get 4 TB, not 6 TB. Some NAS devices offer their own systems (such as Synology’s SHR) that use mixed drives better.
  • TB versus TiB: a 4 TB drive shows up as about 3.6 TB in the system, because the manufacturer counts in powers of 1000 and the system in powers of 1024.

Which one to choose

SituationRecommended level
2-bay NAS for photos and documentsRAID 1
4-bay NAS, prioritizing spaceRAID 5
4 or more bays with 8 TB drives or largerRAID 6
Server with virtual machines or databasesRAID 10
Very fast temporary work driveRAID 0, with no unique data

Why a RAID is not a backup

This is the most important point in the article. A RAID instantly replicates everything that happens to the array, including the bad things:

SituationDoes a RAID save you?Does a backup save you?
A drive breaksYesYes
You delete a folder by mistakeNo, it is deleted on every driveYes
Ransomware encrypts your filesNo, it encrypts all drivesYes, if the copy is offline or immutable
The controller or power supply fails and corrupts the arrayNoYes
Theft, fire or floodNo, all drives are in the same boxYes, if the copy is elsewhere

A RAID keeps the service running when a drive fails. A backup lets you recover data when anything else happens.

The 3-2-1 rule

The classic backup recommendation:

  1. 3 copies of the data (the original and two copies).
  2. On 2 different media (for example, the NAS and an external drive).
  3. 1 copy off-site (in the cloud or another building).

A NAS in RAID counts as a single copy, however many drives it has.

Common mistakes

  • Buying all drives from the same batch: they share defects and can fail together. Mixing batches lowers the risk.
  • Not monitoring health: enable the NAS email alerts and check SMART status. A degraded RAID you do not know about has no protection left.
  • Using RAID 5 with very large drives without a backup: the rebuild is the riskiest moment.
  • Using RAID 0 for important data.
  • Using SMR desktop drives in a RAID: they can be very slow when rebuilding. Pick drives made for NAS.

Frequently asked questions

Hardware or software RAID?

At home and on a NAS, software RAID (the operating system’s or the NAS’s) is the norm: it does not depend on a specific controller and is easy to move to another machine.

Which file system should go on top?

On a NAS, Btrfs or ext4. Btrfs adds snapshots and detects corrupted data. It is explained in file systems explained.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor