Skip to content

RAID levels for cPanel — RAID-10 vs RAID-6 vs RAID-Z

Which RAID level to put under a cPanel host, what each costs in usable capacity and rebuild time, and where RAID stops being enough.

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 /home on 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:

  1. Production /home on a high-density host? RAID-10 NVMe or SSD. Fast random I/O matters more than capacity.
  2. MySQL/MariaDB data partition? RAID-10 — InnoDB writes are punishing on parity RAID.
  3. Backup destination, capacity-oriented? RAID-6 or RAID-Z2 on larger spinning drives. Rebuild time is acceptable because backups are write-once-read-rarely.
  4. Small box, two drives total? RAID-1. Don’t try to optimize further.
  5. Anything with drives larger than 4 TB? Never RAID-5. Rebuild math doesn’t work.

What to do

  1. Pick RAID-10 for /home by default. Use ZFS mirrored vdevs if you want checksumming on top.
  2. Pick RAID-6 or RAID-Z2 for backup destinations.
  3. Monitor RAID state actively. mdadm --detail /dev/md0 on Linux software RAID; zpool status on ZFS. Hardware RAID needs vendor agents (megacli, storcli, arcconf).
  4. Stock cold spares. The replacement drive should be sitting in the cabinet, not shipping from the vendor when the alert fires.
  5. RAID is not backup. A bad ZFS scrub, a controller firmware bug, or a rm -rf doesn’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.