Pcornel
Storage · RAID

RAID Fundamentals

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

Back to the Topic

Answer

A RAID array maps logical blocks across multiple members according to a layout. The key dimensions are stripe width, mirror copies, parity count, minimum member count, usable capacity and which concurrent failures are tolerated. Fault tolerance must be described by failure pattern, not merely by a number.

Remember

  • Fault tolerance is determined by layout and failure pattern, not only the count of failed disks.
  • RAID level ≠ filesystem or volume manager.
  • Hot spare ≠ active redundancy before it is incorporated into a rebuild.
  • Rebuild completion ≠ backup or application-consistency verification.

First checks

  • cat /proc/mdstat — md arrays
  • mdadm --detail /dev/md0 — array detail
  • storcli /c0 show all — controller summary

Verify in this order

disks → stripe/mirror/parity → logical volume

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 Fundamentals 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 boundaryKnowing the RAID level establishes intended layout semantics only; it does not prove current member health, correct controller metadata, filesystem integrity or restore capability.Failure tolerance must be evaluated against the exact layout and failure pattern
AcceptanceHealthy evidence: intended topology is documented, current metadata matches it, all members are healthy and the failure/rebuild plan is understood and tested.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=3913

Confirmation

Confirm action

Continue?