RAID Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=3913
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 arraysmdadm --detail /dev/md0— array detailstorcli /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 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 | Knowing 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 |
| Acceptance | Healthy 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