RAID 5
Cheat sheet · https://pcornel.dk/topic.php?topic=3919
Answer
RAID 5 requires at least three members. Approximate usable capacity is (N−1) × effective member size. During one-member degradation, reads for missing data are reconstructed from surviving data and parity; a second required-member failure before recovery exceeds single-parity protection.
Remember
- RAID 5 tolerates one member failure, not an arbitrary second failure during rebuild.
- Single parity ≠ protection from latent unreadable sectors during every rebuild.
- RAID 5 small-write cost can be higher than mirrored layouts.
- RAID 5 ≠ backup.
First checks
mdadm --detail /dev/md0— raid5 statecat /proc/mdstat— [UUU_] shows failedstorcli /c0/v0 show— RAID5
Verify in this order
data + parity → N disks
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 5 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 | RAID 5 can reconstruct one missing member within its layout; it does not guarantee successful rebuild if another required member becomes unreadable or fails. | Failure tolerance must be evaluated against the exact layout and failure pattern |
| Acceptance | Healthy evidence: all members are optimal, parity is consistent, no uncorrectable media errors exist and rebuild can complete within operational objectives. | 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=3919