RAID Explained: Levels 0, 1, 5, 6 and 10, and Why RAID Is Not a Backup
RAID joins several disks for speed, for safety against a disk failure, or both. The common levels compared, hardware vs software, and what RAID cannot do.
3 min readBy Daniel
Reviewed by the AmazingRDP technical team

Several disks of your own to build an array on. See our dedicated servers. See Cheap Dedicated Servers from $38.99
RAID stands for Redundant Array of Independent Disks. It combines several drives so that the system sees one, with one or both of two aims: the array survives when a drive dies, or it is faster than a single drive. Which you get depends on the "level". Five levels cover nearly every real installation.
The three building blocks
- Striping: data is cut into pieces and spread over the drives. Fast; no protection.
- Mirroring: every piece is written to two drives. Safe; half the space.
- Parity: extra check data is calculated so that a missing drive's content can be worked out from the others. Safe with less waste; slower to write and to repair.
The levels compared
| Level | Minimum drives | Survives | Usable space (n drives) | Good for |
|---|---|---|---|---|
| RAID 0 (striping) | 2 | Nothing: one failure loses everything | All | Scratch space, caches |
| RAID 1 (mirror) | 2 | 1 drive | Half | System disks, small servers |
| RAID 5 (single parity) | 3 | 1 drive | n − 1 | File storage on small arrays |
| RAID 6 (double parity) | 4 | 2 drives | n − 2 | Large-capacity storage |
| RAID 10 (mirrors, striped) | 4 | 1 drive per mirror pair | Half | Databases, virtual machines |
RAID 0
The fastest, and with two drives twice as likely to fail as one. Use it only for data you can recreate.
RAID 1
Simple and robust. Reads can be faster than a single drive; writes are the same. The standard choice for a server with two drives.
RAID 5
Efficient with space. Its weakness appears after a failure: rebuilding onto a new drive means reading every remaining drive completely, which takes many hours on large disks, and a second failure or a read error in that time loses the array. With today's very large hard disks, RAID 5 is no longer advised; it remains reasonable on small SSD arrays.
RAID 6
Like RAID 5 with a second set of parity, so a rebuild is survivable even if another drive fails. Slower to write.
RAID 10
Fast for reading and writing, and quick to rebuild because only one mirror is copied. It costs half the capacity. The usual choice where performance matters.
Hardware or software RAID
| Hardware RAID | Software RAID | |
|---|---|---|
| Done by | A controller card | The operating system |
| Cost | The card | None |
| If the controller dies | You may need the same model to read the disks | Any computer with the same system reads them |
| Examples | Server controllers with a battery or flash cache | Linux mdadm, ZFS, Windows Storage Spaces |
Software RAID is the norm on rented servers today. Avoid the "RAID" built into cheap PC mainboards, which combines the drawbacks of both.
A mirror on Linux in four commands
sudo apt install mdadm
sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc
cat /proc/mdstat
sudo mkfs.ext4 /dev/md0
This erases both drives. Check the device names with lsblk first. Mounting the new device is covered in mounting drives in Linux; volume management on top of it in LVM; the Windows equivalent across several servers in Storage Spaces Direct.
Watch the array
RAID hides a failed drive from you: everything keeps working. If nobody notices, the second failure is the one that hurts. Set up notifications (mdadm --monitor with a mail address, or your controller's tool) and look at /proc/mdstat now and then. Replace a failed drive promptly.
RAID is not a backup
| Event | Does RAID help? |
|---|---|
| A drive fails | Yes |
| You delete a file by mistake | No. It is deleted on all drives at once |
| Ransomware encrypts the data | No |
| A software fault corrupts a database | No |
| Fire, theft, or the whole server fails | No |
RAID is about staying online through a hardware fault. A backup is a separate copy, somewhere else, from an earlier time. You need both: see server backup methods.
Which level?
| Situation | Level |
|---|---|
| Two drives in a server | RAID 1 |
| Four or more drives, performance matters | RAID 10 |
| Many large drives for storage | RAID 6 |
| Temporary data, speed above all | RAID 0 |
On rented servers
On a VPS the provider's storage sits underneath; you see one virtual disk and RAID is not yours to configure. On a dedicated server with two or more drives you choose. Several of our builds have two NVMe drives; ask support at ordering time how they should be set up. See dedicated servers and the advantages of a dedicated server.
Questions
What is RAID?
A way of combining several drives into one unit for protection against a drive failure, for speed, or both.
Which RAID level is best?
RAID 1 for two drives, RAID 10 for performance with four or more, RAID 6 for large storage arrays.
Is RAID a backup?
No. RAID protects against a failed drive only. Deleted files, ransomware and disasters need a separate backup.
What is the difference between RAID 5 and RAID 6?
RAID 5 survives one failed drive, RAID 6 two. RAID 6 is safer during the long rebuild of large disks.