Skip to content

RAID, usable capacity and hot spares

Usable space is smaller than the raw capacity of the drives. This guide shows how to calculate it based on the RAID level, the spare drives and the units of measurement.

8 min read, updated on

Topics: RAID, storage, hot spare, PERC, Smart Array

Contents (8 sections)

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

N = active drives in the array (excluding hot spares), C = capacity of one drive
LevelMinimum drivesUsable capacityDrives that can failSuitable for
RAID 02N × C0Temporary data, rebuildable scratch areas
RAID 12 (exactly 2 in the configurator)C1The operating system, small volumes
RAID 53(N − 1) × C1SSDs, read-heavy volumes
RAID 64(N − 2) × C2High-capacity HDDs, archives, backup
RAID 104, even numberN ÷ 2 × C1 guaranteed; more if they are in different mirrorsDatabases, write-heavy virtual machines
RAID 50 / 606 / 8Depends on the number of groups1 / 2 in each groupLarge 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:

Example: 8 × 3.5″ bays and 8 TB drives
LayoutRawUsableFault tolerance
RAID 6 on 8 drives64 TB48 TB2 drives
RAID 6 on 7 drives + 1 hot spare64 TB40 TB2 drives, plus automatic rebuild
RAID 10 on 8 drives64 TB32 TB1 guaranteed
RAID 5 on 7 drives + 1 hot spare64 TB48 TB1 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

The internal controllers in the configurator, according to the Dell PERC and HPE Smart Array guides
ControllerRAID levelsCacheNotes
Dell PERC H3300, 1, 5, 10, 50No cacheDirect writes (write-through)
Dell PERC H730P0, 1, 5, 6, 10, 50, 602 GB non-volatileBattery-backed cache
Dell PERC H740P0, 1, 5, 6, 10, 50, 608 GB non-volatileIn eHBA mode, only RAID 0, 1 and 10
Dell HBA330No RAID (HBA)No cachePresents the drives directly to the operating system
HPE Smart Array E208i-a0, 1, 5, 10No cacheMixed RAID + HBA mode
HPE Smart Array P408i-a0, 1, 5, 6, 10, 50, 602 GB FBWCCache active only with an HPE battery or capacitor
HPE Smart Array P816i-a0, 1, 5, 6, 10, 50, 604 GB FBWC16 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

  1. 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.
  2. For large HDDs, prefer RAID 6; for heavy writes, RAID 10.
  3. Choose a controller with a protected cache if you use RAID 5 or 6.
  4. For ZFS, Ceph or Storage Spaces Direct, choose an HBA or non-RAID mode.
  5. For NVMe, plan for software RAID.
  6. 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

Platforms mentioned in the guide

They are configured in the configurator, which applies each platform's compatibility rules.

  • Dell PowerEdge R640

    Dell, 14G, 1U

    1U server with two Xeon Scalable sockets, 24 DDR4 slots and up to 10 × 2.5″ drives in a single rack unit.

  • Dell PowerEdge R740

    Dell, 14G, 2U

    2U server with two Xeon Scalable sockets, up to 16 × 2.5″ or 8 × 3.5″ drives and up to 8 PCIe slots.

  • HPE ProLiant DL380 Gen10

    HPE, Gen10, 2U

    2U dual-socket Xeon Scalable server with 4 integrated 1 GbE ports, a FlexibleLOM slot and up to 24 SFF drives.

On the same topic, on the blog

Sources

The documents on which the technical statements in this guide are based.