Pcornel
Storage · RAID

RAID Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3936

Back to the Topic

Answer

Start with symptom/time and exact array state, then inventory logical drives, physical members, spares, controller/cache protection, transport paths and active background tasks. Map observed faults against the RAID level's actual failure tolerance. Make the smallest reversible change only after preserving state and confirming backups.

Remember

  • Array degraded ≠ root cause.
  • Disk missing ≠ disk physically failed; path, backplane, power or controller may be responsible.
  • Controller reports optimal ≠ filesystem/application healthy.
  • Temporary recovery after reseat/reboot ≠ durable fix.

First checks

  • cat /proc/mdstat; mdadm --detail /dev/md0 — md state
  • storcli /c0 show all — controller
  • smartctl -a /dev/sdX — member health

Commands

mdadm --detail /dev/md0
Inspect Linux software RAID state. Focus fields: array state, RAID level, active/working/failed devices, member roles a…
mdadm --examine /dev/sdX1
smartctl -a /dev/sdX
mdadm --detail --scan

Verify in this order

symptom → array state → disk/controller → fix

Where it usually breaks

First mismatch in member media → metadata/layout → allocation/placement → redundancy/recovery → logical object → consumer; preserve identity/pre-state before mutation.

RAID → RAID Troubleshooting RAID map

RAID boundaryWhat to verifyProof limit
Layout / topologyRAID level, member grouping, effective member size and stripe/mirror/parity structureThe label alone does not prove current member health or exact failure tolerance
Protection stateArray state, members, spares, cache protection and active rebuild/consistency workOptimal/online state does not prove backup or application integrity
Failure boundaryA RAID alarm or degraded state is an observation, not root cause. Root cause requires the first failed boundary plus successful verification after correction.Failure tolerance must be evaluated against the exact layout and failure pattern
AcceptanceHealthy evidence: all expected members and paths are stable, controller/cache protection is healthy, array returns to optimal/consistent state and the original workload plus data checks remain successful.Close only after the original workload/data check succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3936

Confirmation

Confirm action

Continue?