Hands-on tutorial

Tutorials · Servers & Storage

How to Configure RAID 6 with Hot Spares on a Storage Server

Create a safe, large RAID 6 array on a 36- or 60-bay storage server: plan the groups, add hot spares, initialise, create a file system and set up drive-health alerts.

Intermediate30 min9 steps

Before you start

  • A storage server with a hardware RAID controller (or Linux software RAID)
  • BMC remote console access
  • The capacity plan: usable TB, number of drives and drive size

Step by step

  1. Plan the groups

    Keep each RAID 6 group to about 12 to 30 drives. On a 60-bay server, two groups of 29 drives plus 2 hot spares is a common layout; on 36 bays, two groups of 17 plus 2 spares.

  2. Open the RAID utility

    Reboot and enter the controller configuration utility from the boot screen, or use the controller's management tool in the operating system.

  3. Check every drive

    Confirm all drives are detected, healthy and the same model and size. Replace any drive that reports errors before you start.

  4. Create the RAID 6 virtual drives

    Select the drives for each group, choose RAID 6, keep the default stripe size unless your application recommends otherwise, and enable the write cache only if the controller cache is battery- or flash-protected.

  5. Assign hot spares

    Mark the remaining drives as global hot spares so a rebuild starts automatically after a failure.

  6. Initialise

    Run a full (background) initialisation. The array can be used during this time but is slower.

  7. Create the file system

    Install the operating system on separate mirrored boot drives. On Linux, a large XFS file system suits video and backup archives; mount it with a fixed label or UUID.

  8. Set up monitoring

    Enable controller and BMC alerts for drive failure, predictive failure and rebuild start/finish, and run a scheduled consistency check monthly.

  9. Test a failure

    Before going live, pull one drive (or mark it offline), confirm the alert and the automatic rebuild onto a hot spare, then return the drive as a new spare.

Pro tips

  • Keep two spare drives on site for large arrays.
  • Write down which slot belongs to which group.
  • RAID is not a backup: copy important data to another system.

Last reviewed: