Pcornel
Storage

RAID

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

Back to the Topic

Answer

RAID combines member devices into a logical array using striping, mirroring and/or parity. The selected RAID level determines usable capacity, write behavior and which member-loss patterns can be survived. RAID reduces some device-failure risk but it does not replace backups, end-to-end integrity checks or disaster recovery.

Remember

  • RAID ≠ backup.
  • Redundancy ≠ availability under every failure pattern.
  • Usable RAID capacity ≠ raw installed capacity.
  • Array online/optimal ≠ application data integrity proven.

First checks

  • cat /proc/mdstat — Linux software RAID
  • storcli /c0/vall show — hardware RAID virtual drives
  • zpool status — ZFS redundancy

Verify in this order

disks → RAID set → virtual disk/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 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 boundaryA healthy RAID state proves the array currently satisfies its implementation's membership rules; it does not prove backup coverage, application consistency, media integrity outside monitored sectors or successful restore.Failure tolerance must be evaluated against the exact layout and failure pattern
AcceptanceHealthy evidence: all expected members are present, array state is optimal/clean, no rebuild or uncorrectable errors are active, capacity matches the intended layout and representative I/O completes without unexplained 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=3912

Confirmation

Confirm action

Continue?