Pcornel
Storage · RAID

RAID Failure

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

Back to the Topic

Answer

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.

Remember

  • 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.

First checks

  • mdadm --examine /dev/sd* — member metadata
  • storcli /c0 show events — failure events
  • dmesg | grep -i -e raid -e md — kernel messages

Commands

mdadm --assemble --scan

Verify in this order

failures > tolerance → array offline → recovery/restore

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 Failure 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 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
AcceptanceHealthy 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

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

Confirmation

Confirm action

Continue?