Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Please Stop Using RAID 5 Arrays for Your NAS

· 6 min read · Home Networking

In this article
  1. Background: How RAID 5 Became Popular
  2. How RAID 5 Works (and Its Hidden Weakness)
  3. Why RAID 5 Is Now a Data-Loss Trap
  4. Better Alternatives: RAID 6, RAID 10, and RAID 1
  5. How to Choose the Right RAID Level for Your NAS
  6. Cost and Capacity Trade-offs
  7. Frequently Asked Questions

Yes, you should stop using RAID 5 for new NAS arrays, especially with drives larger than 4 TB, because the risk of an uncorrectable read error during rebuild is unacceptably high. This article explains why RAID 5 has become dangerous, what alternatives exist, and how to choose the right redundancy level for your data.

RAID 5 (Redundant Array of Independent Disks, level 5) was introduced in the late 1980s as a way to combine storage capacity with fault tolerance. It stripes data and parity across all drives, so any single drive can fail without losing data. For decades, it was the default choice for small servers and NAS devices because it offered a good balance of usable capacity, read performance, and cost.

The math is simple: with N drives, you lose the capacity of one drive to parity. For example, four 4 TB drives give you 12 TB usable. That efficiency made RAID 5 attractive for home users and small businesses.

How RAID 5 Works (and Its Hidden Weakness)

RAID 5 writes data in stripes across all disks, and for each stripe, one block contains parity. The parity is computed with an XOR operation, so if any one drive fails, the missing data can be reconstructed from the remaining drives plus parity.

The problem is that during a rebuild, the controller must read every block on every remaining drive to recompute the missing data. If any drive hits an unrecoverable read error (URE), the rebuild fails and you lose the entire array. The probability of encountering at least one URE increases with the total amount of data read, and with larger drives, that probability becomes dangerously high.

Why RAID 5 Is Now a Data-Loss Trap

Drive manufacturers specify an unrecoverable read error rate, typically 10^14 or 10^15 bits read per error. That means for a consumer drive with a 10^14 rate, you can expect one URE for every 12.5 TB of data read. A 4-drive RAID 5 array with 4 TB drives has roughly 12 TB of data to read during a rebuild. That puts you right at the edge of a 50% chance of failure. With 8 TB drives, the rebuild reads 24 TB, and the failure probability jumps to nearly 90%.

In practice, modern enterprise drives are better, but most NAS units use consumer or nearline drives. Even if you use enterprise drives with a 10^15 rate, a 6-drive array of 12 TB drives reads 60 TB, giving a 6% chance of a URE – still not negligible for a critical system.

Moreover, the rebuild process itself stresses all remaining drives, increasing the chance of a second failure. If a second drive fails during rebuild, the array is gone.

Better Alternatives: RAID 6, RAID 10, and RAID 1

If you need more than one drive of redundancy, RAID 6 is the natural upgrade. It uses two parity blocks per stripe, so it can survive two drive failures. The cost is that you lose two drives' worth of capacity. For a 4-drive array, you get only 50% usable capacity, but the rebuild risk drops dramatically because you can still recover even if a URE occurs during rebuild.

RAID 10 (a stripe of mirrors) is another strong option. It requires an even number of drives and gives you the capacity of half the total. It offers better write performance than RAID 6 and much faster rebuilds because each mirror pair can rebuild independently. For small arrays (4–8 drives), RAID 10 is often the safer and faster choice.

For two-drive NAS units, RAID 1 (mirroring) is still the only sensible redundancy level. It gives you 50% capacity but zero rebuild risk because a failed drive is simply copied from its mirror.

How to Choose the Right RAID Level for Your NAS

Your choice depends on the number of drives and your tolerance for data loss. Here is a practical guide:

  • 2 drives: Use RAID 1 (mirror).
  • 3 drives: RAID 5 is still borderline acceptable if drives are small (≤2 TB), but RAID 1 with a hot spare or RAID 6 (if your controller supports 3-drive RAID 6) is safer. Most controllers don't support RAID 6 on 3 drives, so consider RAID 1 with a spare.
  • 4 drives: RAID 6 or RAID 10. Both give you 50% usable capacity. RAID 6 is better for read-heavy workloads; RAID 10 for write-heavy.
  • 5–8 drives: RAID 6 is the sweet spot. RAID 10 is also fine but requires even numbers.
  • 9+ drives: Consider RAID 6 plus a hot spare, or a distributed file system like ZFS with RAID-Z2 or RAID-Z3 (which work like RAID 6/7).

If your NAS supports ZFS (e.g., TrueNAS, Synology, QNAP), RAID-Z2 is a great choice because it also provides checksumming to detect silent data corruption.

Cost and Capacity Trade-offs

Moving from RAID 5 to RAID 6 or RAID 10 reduces usable capacity by one extra drive. For a 4-drive array of 8 TB drives, RAID 5 gives 24 TB usable, while RAID 6 gives 16 TB. That is a 33% loss. But the cost of losing your entire array is far higher than the cost of one extra drive.

If capacity is your top priority and you are comfortable with the risk, you can still use RAID 5, but only with small drives (≤2 TB) and a solid backup. For any array larger than 4 TB total, the statistical risk is not worth it.

Frequently Asked Questions

Can I convert my existing RAID 5 to RAID 6 without losing data?

Some RAID controllers and NAS operating systems support online RAID level migration. For example, Synology and QNAP allow you to add a drive and convert RAID 5 to RAID 6. However, the process is slow and stresses the array, and it requires an extra drive. Always back up before attempting.

Is RAID 5 okay for SSDs?

SSDs have much lower unrecoverable error rates than HDDs, so RAID 5 is safer with SSDs. However, SSDs can fail without warning, and the rebuild time is shorter. Still, RAID 6 is recommended for critical data, especially with consumer SSDs.

What is the difference between RAID 5 and RAID-Z?

RAID-Z is ZFS's implementation of RAID 5, but it uses variable stripe widths and provides checksumming to detect and repair silent corruption. RAID-Z2 and RAID-Z3 are equivalent to RAID 6 and RAID 7. RAID-Z is generally safer than traditional RAID 5 because it avoids the write hole and detects errors.

Does a backup replace the need for RAID?

No. RAID protects against drive failure, but not against accidental deletion, ransomware, or fire. Backups are essential, but RAID reduces downtime. Even with a backup, rebuilding a RAID 5 array can take hours or days, during which you are vulnerable.

What is the maximum drive size for RAID 5 to be safe?

As a rule of thumb, keep total array size under 4 TB if using consumer drives. That means 4×1 TB or 2×2 TB. For larger arrays, use RAID 6 or RAID 10.