In short
RAID (Redundant Array of Independent Disks) combines multiple disks into one logical volume to gain performance, capacity or data protection. RAID 0 is fast but survives no failures; RAID 1 mirrors disks; RAID 5 uses parity to survive a single disk failure; RAID 10 delivers both speed and redundancy. RAID protects against disk failure, but it is not a substitute for backups.
In this guide
- Core RAID Concepts
- RAID 0: Maximum Speed, Zero Protection
- RAID 1: Simple, Reliable Mirroring
- RAID 5: Capacity Efficiency with Parity
- RAID 10: The Balance of Speed and Redundancy
- RAID 0, 1, 5 and 10 Comparison Table
- Hardware RAID or Software RAID?
- Why RAID Is Not a Backup
- Which RAID Level Should You Choose?
- Next Step: Design Your Own Disk Layout
RAID (Redundant Array of Independent Disks) is a configuration that combines multiple physical disks and presents them to the operating system as a single disk. The goal depends on the level: some RAID levels split data across disks for speed, while others write the same data to more than one disk so the server keeps running when a disk fails. Choosing the right RAID level is a trade-off between performance, usable capacity and fault tolerance.
Core RAID Concepts
To understand RAID levels, you only need to know three techniques:
- Striping: Data is split into blocks and written to different disks in turn. Because the disks work in parallel, reads and writes get faster.
- Mirroring: The same data is written identically to two or more disks. If one disk fails, its copy keeps going.
- Parity: Parity information, calculated mathematically from the data, is stored. When a disk is lost, the missing data is recalculated from the data on the remaining disks plus the parity.
RAID 0: Maximum Speed, Zero Protection
RAID 0 uses striping only. It needs at least 2 disks, and the full capacity of every disk is usable. Read and write speed scale with the number of disks.
The cost is steep: if a single disk fails, all data in the array is lost. Because every file is spread across all disks, the remaining disks are useless on their own. The more disks you add, the higher the failure risk. RAID 0 is only suitable for data you can afford to lose, such as temporary render files, caches or test environments that are easy to rebuild.
RAID 1: Simple, Reliable Mirroring
RAID 1 writes identical data to two disks. With two disks, usable capacity equals the capacity of a single disk. If one disk fails, the server keeps running on the other without interruption; when a new disk is installed, the data is copied to it (rebuild).
Read performance can improve because both disks can be read in parallel, while write speed stays at single-disk level. RAID 1 is the most common and easiest-to-understand choice for operating system disks, small databases and two-disk servers.
RAID 5: Capacity Efficiency with Parity
RAID 5 combines striping with distributed parity. It needs at least 3 disks, and one disk's worth of capacity goes to parity; so four 1 TB disks give you about 3 TB of usable space. It tolerates a single disk failure.
There are two weak spots to watch for:
- Write penalty: Every small write also requires reading and updating parity. That's why RAID 5 is slow for random-write-heavy workloads, especially databases.
- Rebuild risk: When a disk fails, the array runs unprotected until a new disk is installed and rebuilt. During the rebuild, all disks are read heavily; a second disk failure or an unreadable sector at that point can take down the entire array. With high-capacity disks, rebuilds take longer, so this risk grows.
That's why RAID 6, which tolerates two disk failures, is often chosen over RAID 5 for arrays with large disks.
RAID 10: The Balance of Speed and Redundancy
RAID 10 (RAID 1+0) first groups disks into mirrored pairs, then stripes across those pairs. It needs at least 4 disks, and usable capacity is half of the total.
One disk in each mirrored pair can fail; if you're lucky, the array can survive more than one disk failure. But if both disks in the same pair fail, data is lost. With no parity calculation, write performance is high, and since a rebuild is just copying the mirror disk, it's fast and less risky. It's usually the most balanced option for busy databases, virtualization hosts and e-commerce infrastructure.
RAID 0, 1, 5 and 10 Comparison Table
| Level | Minimum disks | Usable capacity | Fault tolerance | Read | Write | Typical use |
|---|---|---|---|---|---|---|
| RAID 0 | 2 | 100% (N disks) | None | Very high | Very high | Temporary data, cache |
| RAID 1 | 2 | 50% (with 2 disks) | 1 disk | High | Single-disk level | Operating system, small servers |
| RAID 5 | 3 | N-1 disks | 1 disk | High | Medium, low for random writes | Archive, file server |
| RAID 6 | 4 | N-2 disks | 2 disks | High | Low | High-capacity storage |
| RAID 10 | 4 | 50% | 1 disk per mirror | Very high | High | Databases, virtualization |
The performance values in the table are relative; real-world speed depends on the disk type (NVMe, SATA SSD, HDD), the RAID controller and the workload.
Hardware RAID or Software RAID?
Hardware RAID is managed by a dedicated RAID controller card in the server. The operating system sees a single disk. Controllers with cache and a battery backup unit (BBU) improve write performance. The downside is that if the controller fails, you usually need a card of the same model.
Software RAID is managed by the operating system. On Linux, mdadm handles it, as do file systems like ZFS and Btrfs. On modern CPUs the overhead is negligible, and the disks remain readable if you move them to another server. Software RAID is very common with NVMe drives.
On Linux, you can check the status of an mdadm RAID array with these commands:
# Summary status of all md arrays and rebuild progress
cat /proc/mdstat
# Details of a specific array
sudo mdadm --detail /dev/md0
# Disk SMART health info (smartmontools package)
sudo smartctl -a /dev/sda
In the /proc/mdstat output, [UU] means all disks are healthy, while [U_] means a disk is missing or failed. A degraded array can run unnoticed for months, so it's important to enable mdadm email alerts or add it to your monitoring system.
Why RAID Is Not a Backup
The most dangerous RAID misconception is "I use RAID 1, so my data is backed up." RAID's only job is to provide continuity in the face of disk failure. RAID will not protect you in any of these cases:
- Accidental deletion: A file you delete is removed from every mirror at the same time.
- Ransomware: Encrypted files are written, encrypted, to all disks.
- Software bugs and data corruption: A faulty update or a corrupted database write is faithfully replicated by RAID.
- Controller failure: A failed RAID card can make the entire array unreadable.
- Fire, theft or total loss of the server: All the disks are in the same chassis.
Real protection means keeping your data on different media, in a different location, with historical versions. We explain how to plan this in our 3-2-1 backup rule guide, and how to send automatic backups from a server to the cloud in automated backups with rclone.
Which RAID Level Should You Choose?
- If you have two disks: RAID 1. Simple, reliable and quick to rebuild.
- If you run databases or virtual machines: RAID 10. Write performance and fast rebuilds are what matter here.
- If capacity is the priority and the workload is mostly reads: RAID 6, or RAID 5 for arrays with small disks.
- If data loss doesn't matter and speed is the only goal: RAID 0.
Hot spares and disk replacement
A hot spare is a standby disk that sits idle in the array. When a disk fails, the RAID controller or mdadm automatically starts the rebuild onto the hot spare, shortening the time the array spends unprotected. Without a hot spare, the failed disk needs to be replaced as quickly as possible. Also keep in mind that disks from the same batch, bought at the same time, can wear out around the same time; one disk failure is a good prompt to review the SMART values of the other disks too.
If you'll install your own hypervisor and manage disks directly, for example to build a ZFS mirror on Proxmox VE, you need a dedicated (bare metal) server rather than a virtual one, because on a VDS the disk layer is managed by the provider's virtualization infrastructure.
When renting a dedicated server, confirm the number of disks, the disk type and whether you can configure RAID yourself before you order. For other criteria, see our dedicated server rental guide.
Next Step: Design Your Own Disk Layout
If you want to choose the RAID level, file system and virtualization layer yourself, you need a dedicated server with full hardware control. Sunucu Atlas's Ryzen 9 5950X dedicated server is offered as single-tenant bare metal in our Istanbul data center, with 128 GB RAM, a 1 TB SSD, IPMI / out-of-band management and a vCenter-ESXi installation option. You can share your disk configuration needs in a support ticket before ordering, and browse all options on the dedicated server plans page. For an in-depth mdadm reference, the Linux RAID wiki is a useful resource.
Frequently asked questions
Can RAID replace backups?
No. RAID only provides continuity in case of disk failure; accidental deletion, ransomware or data corruption hit all disks at once. A backup stored in a separate location is always necessary.
Is RAID 5 or RAID 10 better?
For write-heavy workloads like databases and virtualization, RAID 10 is faster and safer during rebuilds. RAID 5 offers more usable capacity with the same number of disks.
What happens if a disk fails in RAID 1?
The server keeps running on the remaining disk, but the array is left unprotected. The failed disk should be replaced as soon as possible and the rebuild completed.
Do SSDs and NVMe drives need RAID?
SSDs can fail too, so RAID 1 or RAID 10 is still recommended for systems that need to stay up. NVMe drives typically use software RAID (mdadm or ZFS).
When is RAID 0 used?
Only for data that can be lost and regenerated without problems, such as caches, temporary processing files or test environments.