---
title: The Complete Guide to RAID: Levels, Failures and Data Recovery
url: https://recdata.lu/en/guides/complete-guide-to-raid/
description: RAID 0, 1, 5, 6 and 10 explained: how each level stores data, what it survives, why arrays fail and how they are recovered. A reference guide for IT managers and NAS owners.
language: en
---

NAS and RAID

# The complete guide to RAID

RAID is everywhere: in NAS units, servers and even desktop PCs. It is also widely misunderstood. This guide explains how each level works, what it really protects against, how arrays fail, and what to do when one does.

Published 16 November 20263 min readBy [Mirush Murataj](https://recdata.lu/en/about-us/#author)

RAID protects against disk failure, not against deletion, ransomware or a failed rebuild.

In short

- RAID protects against disk failure, not against deletion, ransomware or a failed rebuild.
- RAID 6 or 10 is safer than RAID 5 for large disks.
- A failed array is rebuilt from disk clones, never on the original disks.

## The building blocks

- **Striping**: data is split into blocks (stripes) spread across several disks. Fast, but no protection on its own.
- **Mirroring**: every block is written to two disks. Simple and robust, but you lose half the capacity.
- **Parity**: an extra block, calculated from the data blocks (an XOR for RAID 5, plus a Reed-Solomon calculation for RAID 6), lets missing blocks be recalculated.

## The levels

| Level | Min. disks | Usable capacity | Survives |
| --- | --- | --- | --- |
| RAID 0 | 2 | 100% | No failure at all |
| RAID 1 | 2 | 50% | One disk |
| RAID 5 | 3 | (n − 1) / n | One disk |
| RAID 6 | 4 | (n − 2) / n | Two disks |
| RAID 10 | 4 | 50% | One disk per mirror |

### RAID 0

Pure striping. Every file of more than one stripe has pieces on every disk. One failed disk takes the whole volume down. See [RAID 0 (striping) data recovery](https://recdata.lu/en/data-recovery/raid-0/).

### RAID 1

A mirror. Both disks hold the same data. Easy to recover, but a mirror copies deletions and corruption instantly. See [RAID 1 (mirror) data recovery](https://recdata.lu/en/data-recovery/raid-1/).

### RAID 5

Striping with one rotating parity block. The most common level in small NAS units and servers, and the most fragile during a rebuild. See [RAID 5 data recovery](https://recdata.lu/en/data-recovery/raid-5/) and [RAID 5 rebuild failed: what happened and what to do now](https://recdata.lu/en/guides/raid-5-rebuild-failed/).

### RAID 6

Two parities, P and Q. It survives two failures, which makes it the sensible choice for arrays of large disks. See [RAID 6 data recovery](https://recdata.lu/en/data-recovery/raid-6/).

### RAID 10

Mirrors striped together. Fast for databases and virtual machines, and quick to rebuild, but two failures in the same pair are fatal. See [RAID 10 data recovery](https://recdata.lu/en/data-recovery/raid-10/).

## Hardware RAID, software RAID and NAS

- **Hardware controllers** (Dell PERC, HPE Smart Array, Broadcom MegaRAID, Adaptec) store the configuration on the disks and in the controller. A dead controller or a lost configuration can hide perfectly healthy disks.
- **Software RAID** (Linux mdadm, Windows Storage Spaces, ZFS, Btrfs) stores everything on the disks themselves. See [Reassembling a Linux mdadm RAID without making it worse](https://recdata.lu/en/guides/mdadm-reassemble-software-raid/).
- **NAS units** are software RAID with their own layers on top: SHR on Synology, LVM and thin volumes on QNAP. See [The complete guide to NAS: how they fail and how to protect them](https://recdata.lu/en/guides/complete-guide-to-nas/).

## How arrays fail

- A second disk fails during the rebuild after the first.
- A disk dropped out weeks ago and nobody noticed the alert.
- The controller loses its configuration after a firmware update or a replacement.
- Someone pulls the wrong disk, or recreates the array "with the same settings".
- A power cut during writes leaves parity inconsistent (the write hole).

## What to do when an array fails

1. Stop writing to it. Do not rebuild, recreate or initialise anything.
2. Note the slot of every disk and the controller or NAS model.
3. Export the logs if you can do so without changing the array.
4. Have the disks cloned. The array is then rebuilt virtually from the clones: disk order, stripe size, parity rotation, offset. See [RAID data recovery](https://recdata.lu/en/data-recovery/raid/).

## RAID is not a backup

RAID keeps a system running when a disk fails. It does nothing against deletion, overwriting, ransomware, theft, fire or a controller that writes garbage to every disk at once. Keep at least one copy elsewhere, ideally offline.

## Frequently asked questions

Which RAID level should I choose for a four-bay NAS?

RAID 5 gives more space, RAID 6 or RAID 10 more safety. With large disks, RAID 6 is the safer choice, and you still need a backup.

Can a failed RAID always be recovered?

Not always, but very often. What matters most is not making changes to the disks before they are cloned.

## Official sources and useful links

- [Linux RAID wiki (kernel.org)](https://raid.wiki.kernel.org/): Reference documentation for Linux software RAID (mdadm).

Share this guide

- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fcomplete-guide-to-raid%2F)
- [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fcomplete-guide-to-raid%2F)
- [WhatsApp](https://wa.me/?text=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fcomplete-guide-to-raid%2F)
- [Email](mailto:?body=https%3A%2F%2Frecdata.lu%2Fen%2Fguides%2Fcomplete-guide-to-raid%2F)
-

Cite this article

Murataj, Mirush. "The complete guide to RAID". RecData, 16 November 2026. https://recdata.lu/en/guides/complete-guide-to-raid/

Is your data important?

Do not try anything that could make the fault worse. The diagnosis is free and you get a fixed quote before any work starts.

[Request a free diagnosis](https://recdata.lu/en/free-diagnosis/) [RAID data recovery](https://recdata.lu/en/data-recovery/raid/)

Need a diagnosis?

Free, no obligation, reply within 2 hours.

[Free diagnosis](https://recdata.lu/en/free-diagnosis/)[+39 389 965 7366](tel:+393899657366)

## Read next

- [RAID 5 rebuild failed: what happened and what to do nowA RAID 5 is built to survive the loss of one disk. The danger comes afterwards: the rebuild reads every…](https://recdata.lu/en/guides/raid-5-rebuild-failed/)
- [Synology volume crashed or storage pool degradedSynology NAS units are reliable, which is precisely why many offices and homes in Luxembourg use them as…](https://recdata.lu/en/guides/synology-volume-crashed/)
- [Recovering deleted files on WindowsA file deleted on Windows is rarely gone at once. Depending on where it was and how it was deleted, it may be…](https://recdata.lu/en/guides/recover-deleted-files-windows/)
- [Recovering deleted photos and files on AndroidAndroid phones keep more copies than people think: trash folders, Google backups, WhatsApp backups, memory…](https://recdata.lu/en/guides/recover-deleted-files-android/)
- [Recovering deleted photos on iPhoneOn an iPhone, a deleted photo first goes to the Recently Deleted album, where it stays for 30 days. After…](https://recdata.lu/en/guides/recover-deleted-photos-iphone/)
- [Bad sectors: can they be repaired?A warning about bad sectors is one of the most common messages a hard drive gives before it fails. The word…](https://recdata.lu/en/guides/hard-drive-bad-sectors/)

Your device has stopped responding? Switch it off and talk to us.

[Request a free diagnosis](https://recdata.lu/en/free-diagnosis/)
