RAID
Cheat sheet · https://pcornel.dk/topic.php?topic=3912
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 RAIDstorcli /c0/vall show— hardware RAID virtual driveszpool 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 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 | A 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 |
| Acceptance | Healthy 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