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.
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
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.
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.
Check every drive
Confirm all drives are detected, healthy and the same model and size. Replace any drive that reports errors before you start.
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.
Assign hot spares
Mark the remaining drives as global hot spares so a rebuild starts automatically after a failure.
Initialise
Run a full (background) initialisation. The array can be used during this time but is slower.
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.
Set up monitoring
Enable controller and BMC alerts for drive failure, predictive failure and rebuild start/finish, and run a scheduled consistency check monthly.
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:
FAQ
Frequently asked questions
How long does a rebuild take?
From hours to more than a day for large drives, depending on drive size and load. RAID 6 keeps data safe during that time.
Can I add drives later?
Most controllers can expand an array, but it is slow. Adding a new RAID group is usually faster and safer.
Keep learning
Related guides
Prepare a GPU server for AI work: install a long-term-support Linux release, check that every GPU is detected, install the GPU vendor's driver and container support, and confirm with a quick test.
Read more →Server Rack, Power and Cooling Checklist for GPU and Storage ServersBefore a GPU or storage server arrives, check the rack depth, floor load, power circuits, UPS capacity and cooling so it runs at full load from day one.
Read more →Use a Storage Server as a CCTV Archive (NFS or iSCSI)Extend recorders or a video management system with a large storage server: share the RAID array over NFS or iSCSI on a dedicated VLAN, connect the recorders and check retention.
Read more →Stuck on a step?
Ask Navijin technical support or an authorised partner for help with your configuration.