Degraded Array
Cheat sheet · https://pcornel.dk/topic.php?topic=3934
Answer
Degraded operation depends on RAID level and failure placement. Reads may require reconstruction, writes may incur extra work and another member failure can exceed remaining tolerance. The priority is to identify exact remaining protection and safely restore redundancy.
Remember
- Degraded ≠ failed.
- Degraded but online ≠ safe to postpone repair.
- Remaining fault tolerance depends on RAID level and subgroup/mirror placement.
- Workload success during degradation ≠ rebuild safety.
First checks
cat /proc/mdstat— [U_] degradedmdadm --detail /dev/md0 | grep State— degradedstorcli /c0/vall show— Dgrd state
Commands
mdadm --detail /dev/md1mdadm --detail
Verify in this order
disk failure → degraded → replace → rebuild
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 → Degraded Array 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 | Degraded state proves the array is operating with reduced redundancy according to its layout; it does not imply imminent failure, but it narrows the margin for additional faults. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: degradation cause is known, remaining members are healthy, exact tolerance is understood and rebuild proceeds to optimal state without new errors. | 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=3934