RAID under a cPanel host is the bottom layer of your redundancy story. It protects against single-drive failures and (if you’re paying attention) gives you a few hours of warning before a second drive fails. It does not protect against ransomware, filesystem corruption, fat-fingered rm -rf, or a regional disaster. Pick a level that fits the failure modes you actually face.
The trade-off
- RAID-10 (striped mirrors) — best random I/O, fastest rebuild, can lose multiple drives if they’re in different mirror pairs. Costs 50% capacity. Default choice for
/homeon production cPanel hosts. - RAID-6 (double parity) — survives any two drive failures. Slower writes due to parity calculation. Rebuild times grow with drive size — on 16 TB drives, a rebuild can take days, during which a second failure means data loss. Good for backup destinations.
- RAID-Z2/Z3 (ZFS double/triple parity) — like RAID-6 but with ZFS checksumming on top. Catches silent bit-rot that hardware RAID misses. Slower than RAID-10. Excellent for backup destinations and dense storage.
- RAID-5 (single parity) — don’t use this in 2026. On drives larger than ~4 TB, rebuild times exceed the probability of a second drive failure during rebuild. Effectively negative MTBF on large drives.
- RAID-1 (mirror) — fine on 2-drive systems. Lower write throughput than RAID-10, same capacity overhead.
How to decide
Walk the workload:
- Production
/homeon a high-density host? RAID-10 NVMe or SSD. Fast random I/O matters more than capacity. - MySQL/MariaDB data partition? RAID-10 — InnoDB writes are punishing on parity RAID.
- Backup destination, capacity-oriented? RAID-6 or RAID-Z2 on larger spinning drives. Rebuild time is acceptable because backups are write-once-read-rarely.
- Small box, two drives total? RAID-1. Don’t try to optimize further.
- Anything with drives larger than 4 TB? Never RAID-5. Rebuild math doesn’t work.
What to do
- Pick RAID-10 for
/homeby default. Use ZFS mirrored vdevs if you want checksumming on top. - Pick RAID-6 or RAID-Z2 for backup destinations.
- Monitor RAID state actively.
mdadm --detail /dev/md0on Linux software RAID;zpool statuson ZFS. Hardware RAID needs vendor agents (megacli,storcli,arcconf). - Stock cold spares. The replacement drive should be sitting in the cabinet, not shipping from the vendor when the alert fires.
- RAID is not backup. A bad ZFS scrub, a controller firmware bug, or a
rm -rfdoesn’t care about RAID. Keep proper backups on a separate system.
Stack Harbor monitors RAID state and rebuild posture across all managed hosts as part of cPanel/WHM management.