Skip to main content
RunBook Academy

LinuxLXIX · Hardware HealthRAID controller

RAID controller monitoring - the storage layer below

Advanced⏱ ~10 minstorcliperccli

What you'll learn

  • Monitor RAID controller health
  • Detect degraded RAID arrays
  • Check battery / cache status
  • Use vendor tools

Prerequisites

Verified against Ubuntu 24.04 LTS · Debian 12 (Bookworm) · RHEL 9.x · Rocky Linux 9.x · AlmaLinux 9.x · Linux kernel 6.1 LTS / 6.6 LTS · systemd 255+ · OpenSSH 8.7p1 (RHEL 9) / 9.6p1 (Ubuntu 24.04) · nftables 1.0.x · chrony 4.x · Pacemaker 2.1.x · Corosync 3.1.x · 2026-08-09

Not yet marked complete on this device.

A RAID controller sits between the OS and the disks. Its health is independent of disk health. This lesson covers how to monitor it.

RAID controller health

A RAID controller has:

  • The controller itself (CPU, memory, firmware).
  • Cache (RAM, often battery-backed).
  • Battery / supercapacitor (for cache persistence).
  • Disks (monitored by SMART).
  • BBU (battery backup unit) or supercapacitor.

Each can fail. SMART does not cover the controller or the cache.

Vendor tools

VendorTool
Broadcom (MegaRAID)storcli, perccli
HPE Smart Arrayssacli, hpssacli
Dell PERCperccli
LSIstorcli

Example (Broadcom):

# Show controller info
sudo storcli show

# Show virtual disks
sudo storcli /c0 show vd

# Show physical disks
sudo storcli /c0 show pd

# Show BBU status
sudo storcli /c0 show bbu

What to monitor

For each controller:

  • Controller state: optimal, degraded, failed.
  • Virtual disk state: optimal, degraded, rebuilding.
  • Physical disk state: online, failed, rebuilding.
  • BBU state: healthy, charging, failed, missing.
  • Cache policy: write-back (with BBU) or write-through.

Alert

# Check RAID state
sudo storcli /c0 show vd | grep -E 'State|rebuilding'
sudo storcli /c0 show bbu | grep -E 'State|charging'

# Alert on:
# - Degraded virtual disk
# - Failed physical disk
# - BBU not healthy
# - Rebuilding state (in progress)

A degraded RAID needs immediate attention. Replace the failed disk and let the rebuild complete.

Cache and BBU

Cache write-back with BBU is the fast path: writes go to RAM, flushed to disk later. Without a healthy BBU, the controller falls back to write-through: every write goes directly to disk, slower.

If the BBU fails:

  • Performance drops.
  • Risk of data loss on power failure.

Replace the BBU before it fails. Most controllers can be monitored via vendor tools.

Knowledge check

Knowledge check · 3 questions

  1. Q1. What does a RAID BBU do?

  2. Q2. SMART covers the RAID controller.

  3. Q3. Which of the following are valid RAID controller health indicators? Select all that apply.

Passing score: 75%. Answers are checked in this browser.