Pcornel
Storage · RAID

RAID 5

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

Back to the Topic

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 state
  • cat /proc/mdstat — [UUU_] shows failed
  • storcli /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 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 boundaryRAID 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?