RAID combines several drives so that a server keeps working when one fails, or so that it reads and writes faster, or both. When you specify a dedicated server, choosing a RAID level is one of the most important storage decisions.
The common levels
- RAID 0 (striping): data is split across drives for speed and full capacity. No redundancy: one failed drive loses everything. Only for temporary data you can rebuild.
- RAID 1 (mirroring): two drives hold identical copies. Survives one drive failure; usable capacity is half. Simple and reliable, popular for operating system disks.
- RAID 5 (striping with parity): needs at least three drives and uses one drive's worth of capacity for parity. Survives one failure. Rebuilding a large drive takes a long time, and a second failure during the rebuild loses the array.
- RAID 6 (double parity): needs at least four drives, uses two drives' worth for parity, and survives two failures. A better choice than RAID 5 for large HDD arrays.
- RAID 10 (mirrored stripes): needs at least four drives; data is mirrored and then striped. Half the raw capacity, but fast and resilient. The usual choice for busy databases.
How to choose
- Operating system and small servers: RAID 1.
- Databases and write-heavy applications: RAID 10.
- Large capacity on HDDs for backups or archives: RAID 6.
- Fast scratch space where loss is acceptable: RAID 0.
Hardware RAID controllers with battery- or flash-backed cache, and software RAID such as Linux mdadm or ZFS, can both be good choices; the important part is monitoring.
RAID is not a backup
RAID copies every change to all drives instantly. That includes a mistaken deletion, a corrupted file, an application bug and files encrypted by ransomware. RAID keeps a server running through hardware failure; backups let you recover from everything else. You need both.
Monitor the array
A degraded array that nobody notices is running without protection. Alert on drive failures and on early warning signs from drive health data, and replace failed drives promptly.
How IDX helps
The IDX dedicated server request form lets you choose drive types and counts and a RAID level, or ask us to advise. Our managed services include array monitoring, and our Data Backup service covers what RAID cannot.
IDX on digital infrastructure
Back to blog →