What RAID protects
RAID groups several drives into a single logical volume, to tolerate a drive failure, for performance, or both. The controller (or the operating system, with software RAID) distributes the data and, at the redundant levels, keeps a copy or parity information from which it can rebuild a lost drive.
RAID is not a substitute for backup. It protects against drive failure, but not against accidental deletion, ransomware, data corruption (which is replicated instantly to all drives), controller failure or a fire. Important data also needs separate copies, on another system and, ideally, in another location.
RAID levels at a glance
| Level | Minimum drives | Usable capacity | Drives that can fail | Suitable for |
|---|---|---|---|---|
| RAID 0 | 2 | N × C | 0 | Temporary data, rebuildable scratch areas |
| RAID 1 | 2 (exactly 2 in the configurator) | C | 1 | The operating system, small volumes |
| RAID 5 | 3 | (N − 1) × C | 1 | SSDs, read-heavy volumes |
| RAID 6 | 4 | (N − 2) × C | 2 | High-capacity HDDs, archives, backup |
| RAID 10 | 4, even number | N ÷ 2 × C | 1 guaranteed; more if they are in different mirrors | Databases, write-heavy virtual machines |
| RAID 50 / 60 | 6 / 8 | Depends on the number of groups | 1 / 2 in each group | Large volumes; by quote only |
- RAID 0 stripes the data across all drives. Speed and capacity increase, but the failure of any drive destroys the entire volume.
- RAID 1 writes the same data to two drives. For more than two mirrored drives, use RAID 10.
- RAID 5 distributes parity across all drives and loses the capacity of one. Every small write requires reading and recalculating the parity, which is why the controller cache matters.
- RAID 6 keeps two parities and loses the capacity of two drives. It tolerates two simultaneous failures, including a second failure during a rebuild.
- RAID 10 groups the drives into mirrored pairs and stripes the data across the pairs. It loses half the capacity, but has the best write performance of the redundant levels.
How to calculate usable capacity
Use the formula from the table, with N excluding hot spare drives. In an array with mixed drives, the controller uses the capacity of the smallest drive; the configurator avoids this situation, because a drive group contains a single model.
Example: 9 × 8 TB, RAID 6 and one hot spare
On an HPE DL380 Gen10 with 12 LFF bays you install 9 × 8 TB SAS drives at 7200 rpm (Midline): 8 active in RAID 6 and one hot spare. The raw capacity is 9 × 8 = 72 TB. The usable capacity is (8 − 2) × 8 = 48 TB. The array tolerates two simultaneous failures, and the spare drive automatically starts the rebuild after the first one.
Example: 8 × 3.5″ bays and 8 TB drives
A Dell R740 with 8 × 3.5″ bays can be split up in several ways. All the options use the same eight drives:
| Layout | Raw | Usable | Fault tolerance |
|---|---|---|---|
| RAID 6 on 8 drives | 64 TB | 48 TB | 2 drives |
| RAID 6 on 7 drives + 1 hot spare | 64 TB | 40 TB | 2 drives, plus automatic rebuild |
| RAID 10 on 8 drives | 64 TB | 32 TB | 1 guaranteed |
| RAID 5 on 7 drives + 1 hot spare | 64 TB | 48 TB | 1 drive, plus automatic rebuild |
TB on the invoice, TiB in the operating system
Drive manufacturers use decimal units (1 TB = 10¹² bytes), while many operating systems display binary units. The 48 TB in the example appear as approximately 43.7 TiB, before the space taken up by the file system. The value shown by the configurator is an estimate, before formatting and the space reserved by the controller.
The hot spare drive
- It is a drive that is installed but unused, which automatically joins the array when a drive fails; the controller rebuilds the data onto it without intervention.
- It does not add capacity and does not increase the number of drives that can fail simultaneously. A RAID 5 with a hot spare still tolerates only one drive at a time; the rebuild starts immediately, without waiting for someone to intervene at the server, so the array spends less time in a degraded state.
- It only makes sense for redundant levels. RAID 0 or independent drives have nothing to rebuild, and the configurator blocks the combination.
- It must have the same interface as the drives in the array and at least their capacity.
- In the configurator, the hot spare is part of the drive group and occupies a bay; the number of spare drives must be lower than the group total.
A rebuild puts heavy load on the remaining drives and takes longer the larger the drives are. That is why, for arrays of high-capacity NL-SAS HDDs, RAID 6 is usually a safer choice than RAID 5.
The controller: levels, cache and battery
| Controller | RAID levels | Cache | Notes |
|---|---|---|---|
| Dell PERC H330 | 0, 1, 5, 10, 50 | No cache | Direct writes (write-through) |
| Dell PERC H730P | 0, 1, 5, 6, 10, 50, 60 | 2 GB non-volatile | Battery-backed cache |
| Dell PERC H740P | 0, 1, 5, 6, 10, 50, 60 | 8 GB non-volatile | In eHBA mode, only RAID 0, 1 and 10 |
| Dell HBA330 | No RAID (HBA) | No cache | Presents the drives directly to the operating system |
| HPE Smart Array E208i-a | 0, 1, 5, 10 | No cache | Mixed RAID + HBA mode |
| HPE Smart Array P408i-a | 0, 1, 5, 6, 10, 50, 60 | 2 GB FBWC | Cache active only with an HPE battery or capacitor |
| HPE Smart Array P816i-a | 0, 1, 5, 6, 10, 50, 60 | 4 GB FBWC | 16 SAS lanes; in the configurator, the controller for 12 LFF drives without an expander |
A protected cache (by a battery or a capacitor) enables write-back mode: the controller acknowledges the write from cache and commits it to the drives later, with no risk of loss in a power failure. The difference is most noticeable with RAID 5 and RAID 6, where every write also involves calculating parity. On HPE, P-class controllers need the HPE Smart Storage Battery or the hybrid capacitor to enable the cache.
The battery is a wear part. Controller batteries may need up to 24 hours of charging before they can be tested properly.
Warranty on RAID and CMOS batteries: for private individuals the 2-year legal guarantee applies (normal wear is not a defect), while for businesses the warranty is 12 months. Details in the Warranty Policy.
HBA or RAID controller
An HBA (for example the Dell HBA330) or a controller in non-RAID mode presents each drive directly to the operating system. This is the right option for ZFS, Ceph or Storage Spaces Direct, where the software manages redundancy and needs direct access to the drives. In the configurator, choose “No RAID”; if a controller cannot present the drives individually, the configuration is blocked. The Dell PERC documentation also forbids mixing SAS and SATA drives, or HDDs and SSDs, in the same virtual disk.
NVMe does not go through the RAID controller
The NVMe SSDs in the front bays of the R640 (10-bay chassis) and the DL380 Gen10 (NVMe cage) are connected directly to the processor’s PCIe lanes, not to the PERC or Smart Array controller. HPE explicitly states that NVMe SSDs are not supported by Smart Array controllers. On the R640, the first eight NVMe SSDs are wired to the second processor.
That is why the configurator does not offer hardware RAID for NVMe. Redundancy is provided by software RAID in the operating system or the hypervisor. For the operating system, you can separately use a dedicated boot device, such as the Dell BOSS-S1 with two M.2 SSDs in RAID 1.
RAID 50 and 60 by quote only
RAID 50 and RAID 60 stripe data across several RAID 5 or RAID 6 groups respectively (spans). Usable capacity depends on how you split the drives: 12 drives in RAID 60 as two groups of 6 give (6 − 2) × 2 = 8 usable drives, whereas as three groups of 4 they give only (4 − 2) × 3 = 6. Because the choice of split depends on the workload, the configurator sends these levels to a quote.
Checklist
- Calculate the usable capacity without the hot spare drives and convert it to TiB if you are comparing it with what the operating system sees.
- For large HDDs, prefer RAID 6; for heavy writes, RAID 10.
- Choose a controller with a protected cache if you use RAID 5 or 6.
- For ZFS, Ceph or Storage Spaces Direct, choose an HBA or non-RAID mode.
- For NVMe, plan for software RAID.
- Keep a separate backup, whatever the RAID level.
Choose the drives, the RAID level and the number of hot spares; raw and usable capacity update with every change.
Calculate capacity in the configurator