RAID 6 stops working when too many drives fail, when a rebuild encounters an unreadable sector, or when the array's metadata is corrupted. The short answer: RAID 6 tolerates two simultaneous drive failures, but a third failure—or a second failure during a rebuild—leaves the array offline. To prevent this, you need to monitor drive health, verify backups, and understand the rebuild process. This guide walks you through diagnosing and recovering a failed RAID 6 array, with practical steps and common pitfalls to avoid.

What You'll Need

  • Access to the RAID controller's management interface (web GUI, CLI, or BIOS utility) or the software RAID tool (e.g., mdadm on Linux, Storage Spaces on Windows).
  • Replacement drives of equal or greater capacity (matching speed and interface is recommended).
  • Recent backups of all critical data—RAID is not a backup.
  • A UPS to prevent power loss during rebuilds (optional but strongly advised).
  • Manufacturer documentation for your specific controller or software RAID solution.

Step-by-Step

  1. Identify the array status. Open your RAID management tool. Look for the array state: “Optimal,” “Degraded,” “Failed,” or “Offline.” A degraded array means one or two drives have failed but data is still accessible. A failed or offline array means data is inaccessible without recovery.
  2. Check which drives have failed. In the management interface, locate the physical drive list. Failed drives are usually marked with a red icon or “Failed” status. Note their slot numbers and serial numbers.
  3. Replace the first failed drive. Power down the system if your controller does not support hot-swapping. Remove the failed drive and insert a replacement. Power on and confirm the new drive is detected.
  4. Initiate a rebuild. In the management tool, select the new drive and choose “Rebuild” or “Rebuild Array.” The rebuild process reconstructs data from parity. This can take hours to days depending on drive size and array load. Do not power off or interrupt the rebuild.
  5. Monitor the rebuild progress. Watch the rebuild percentage in the management interface. If the rebuild stalls or reports errors, stop and investigate—continuing may cause further corruption.
  6. Replace the second failed drive (if applicable). If two drives failed simultaneously, replace both before rebuilding. Some controllers require you to replace one drive at a time and rebuild between replacements to avoid a third failure during the process.
  7. Verify array health after rebuild. Once the rebuild completes, check that the array status is “Optimal.” Run a consistency check or patrol read if your controller supports it to ensure parity is correct.
  8. Restore from backup if the array is offline. If the array cannot be rebuilt (e.g., three drives failed), you must replace all failed drives, recreate the array, and restore data from backup. Do not attempt to force the array online without professional guidance—this can cause permanent data loss.

Common Mistakes

  • Ignoring early warning signs. SMART errors, increased reallocated sectors, or a degraded array are red flags. Address them immediately.
  • Using mismatched drives. Mixing drive sizes, speeds, or firmware can cause rebuild failures or performance issues.
  • Rebuilding without a backup. A rebuild stresses all remaining drives; a second failure during rebuild is common. Always have a backup before starting.
  • Interrupting a rebuild. Power loss or rebooting during rebuild can corrupt the array. Use a UPS.
  • Assuming RAID is a backup. RAID protects against drive failure, not accidental deletion, malware, or site disasters.

Tips

  • Schedule regular SMART tests and monitor drive health proactively.
  • Keep spare drives on hand to minimize downtime.
  • Document your RAID configuration (drive order, controller settings) for recovery.
  • Consider RAID 6 with hot spare drives for automatic rebuilds.
  • Test your backups regularly—an untested backup is not a backup.

Troubleshooting

If the rebuild fails or the array remains degraded, check the controller logs for errors. Common issues include bad sectors on remaining drives (which can halt rebuild), firmware bugs, or loose cables. Try reseating cables and updating firmware. If a drive shows repeated errors, replace it even if it hasn't fully failed. For software RAID (e.g., mdadm), use mdadm --detail /dev/md0 to check status and dmesg for kernel errors. If the array is offline and you lack backups, consult a data recovery professional—do not attempt DIY recovery on critical data.

Frequently Asked Questions

Can RAID 6 survive three drive failures?

No. RAID 6 tolerates up to two simultaneous drive failures. A third failure results in data loss unless you have a backup.

How long does a RAID 6 rebuild take?

It depends on drive size, array load, and controller speed. Larger drives (e.g., 8TB+) can take a day or more. Plan for downtime.

What happens if a second drive fails during rebuild?

The array goes offline. You will need to restore from backup after replacing the failed drives.

Can I use different-sized drives in RAID 6?

You can, but the array will be limited by the smallest drive's capacity. For best performance and reliability, use identical drives.

Is RAID 6 better than RAID 5?

RAID 6 offers double fault tolerance, making it safer for large drives where rebuild times are long. RAID 5 is riskier with modern high-capacity drives.

How do I know if my RAID 6 array is failing?

Monitor for degraded status, SMART warnings, rebuild events, and performance drops. Set up alerts in your management tool.