Use it when configuring, checking or troubleshooting RAID Failure in RAID.
RAID Failure
An array can fail because too many required members are lost, the wrong members are missing from a mirror/parity group, controller metadata is damaged, transport paths fail, or members return inconsistent state. Recovery decisions must preserve evidence and avoid writes that could destroy recoverable metadata.
1. RAID failure: more disks failed than tolerated, controller failure, or corruption.
2. Stop writes.
3. Don't initialise or recreate arrays blindly.
4. Collect metadata, involve vendor.
5. Restore from backup if needed.
failures > tolerance → array offline → recovery/restore
Context & applicabilityCommon mistakes · platform/version boundaries
A failed/offline array identifies loss of normal RAID service, not necessarily irreversible data loss; recovery probability depends on member contents, metadata and actions taken afterward.
Suspicious evidence: members are reinitialized, order is guessed, force-online is used before evidence capture, multiple replacements occur simultaneously or backups are unverified.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
symptom → inventory/member identity → controller/software metadata → path/power → RAID tolerance decision → non-destructive recovery path → data read/restore verification
Healthy evidence: failure cause is identified without altering evidence, member identities are preserved, a safe recovery/restore path exists and recovered data passes independent verification.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- RAID failure ≠ automatically physical failure of every member.
- Array offline ≠ proof that data is unrecoverable.
- Force-import/force-online ≠ safe first step.
- Replacing multiple disks or initializing metadata can destroy recovery options.
mdadm --examine /dev/sd*— member metadatastorcli /c0 show events— failure eventsdmesg | grep -i -e raid -e md— kernel messages
ReferenceImportant terms & boundaries3 sections · depth on demand
Protection
A failed/offline array identifies loss of normal RAID service, not necessarily irreversible data loss; recovery probability depends on member contents, metadata and actions taken afterward.
In depth
When the array will not run, stop and gather facts before forcing anything
A RAID failure here means the array is inactive or failed, not merely degraded. Either more members are missing than the level tolerates, or the array did not assemble at boot.
$ cat /proc/mdstat
md0 : inactive sdb1[0](S) sdc1[1](S) sdd1[2](S)
# mdadm --detail --test /dev/md0; echo "exit=$?"
# mdadm --examine /dev/sd[b-e]1 | grep -E '^/dev|Events|Array State|Update Time'
/dev/sdb1: Update Time : Thu Nov 26 22:14:03 2026 Events : 18342 Array State : AAA.
/dev/sdc1: Update Time : Thu Nov 26 22:14:03 2026 Events : 18342 Array State : AAA.
/dev/sdd1: Update Time : Thu Nov 26 21:02:47 2026 Events : 18290 Array State : AAAA
mdadm(8) documents --detail --test exit codes: 0 normal, 1 at least one failed device, 2 multiple failures that make the array unusable, 4 information unavailable. It also documents --examine, which shows the superblock on each member.
Read the superblocks
| Field | Use |
|---|---|
| Events | Members with the highest, matching count are the most current |
| Update Time | When each member last took part |
| Array State | Which slots each member believed active |
Decision path
| Situation | Approach |
|---|---|
| Members present, array just not assembled | mdadm --assemble --scan; check mdadm.conf and the initramfs |
| One member slightly behind on events | Assemble from the current members, then re-add the stale one |
| Too many members with errors | Clone the disks first (ddrescue), then work on the copies |
--assemble --force and re-creating the array with --create can destroy data if the member order or metadata is wrong. Use them only after recording all --examine output, preferably on cloned disks.
Illustrative example (not a system capture).
Failure modes
| Cause | How it shows |
|---|---|
| Second disk fails during rebuild | Array offline/failed |
| URE during parity rebuild (single parity) | Rebuild aborts, stripes unrecoverable |
| Controller or cache failure | Foreign config, data loss in write-back cache |
| Wrong disk pulled | Healthy member removed from a degraded array |
| Firmware bug | Disks dropping in batches, often same model/lot |
Do not re-initialise or create a new array over the old disks to "fix" it: that overwrites metadata. Recovery options in order: re-import the foreign config, force a recently dropped (not failed) disk back online with vendor guidance, then restore from backup.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in RAID → RAID Failure. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/admin-guide/md.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
RAID → RAID Failure RAID map
Fast layout, protection, failure and verification boundaries for RAID → RAID Failure.
| RAID boundary | What to verify | Proof limit |
|---|---|---|
| Layout / topology | RAID level, member grouping, effective member size and stripe/mirror/parity structure | The label alone does not prove current member health or exact failure tolerance |
| Protection state | Array state, members, spares, cache protection and active rebuild/consistency work | Optimal/online state does not prove backup or application integrity |
| Failure boundary | A failed/offline array identifies loss of normal RAID service, not necessarily irreversible data loss; recovery probability depends on member contents, metadata and actions taken afterward. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: failure cause is identified without altering evidence, member identities are preserved, a safe recovery/restore path exists and recovered data passes independent verification. | Close only after the original workload/data check succeeds |