1 · Choose a RAID level
Number of disks
Size of each disk
Animation speed
2 · The Disk Array
each row is a stripe · click any block to inspect it
Data waiting to be written (each block holds a 4-bit value)
data block (colour = file)
′ mirror copy
⊕ P parity
↻ served/rebuilt from redundancy
lost
Capacity & Safety
Speed vs. a single disktheoretical
Side-by-sideN = number of disks, S = size of one disk
| RAID 0 | RAID 1 | RAID 5 | RAID 10 | |
|---|---|---|---|---|
| Technique | Striping | Mirroring | Striping + distributed parity | Stripe of mirrors |
| Minimum disks | 2 | 2 | 3 | 4 (even number) |
| Usable capacity | N × S 100% | 1 × S 50% with 2 disks | (N − 1) × S 75% with 4 disks | N ÷ 2 × S 50% |
| Survives | Nothing — 1 failure loses everything | N − 1 disk failures | Exactly 1 disk failure | 1 per mirror pair (2 in the same pair = dead) |
| Read speed | ≈ N× | up to N× | ≈ (N − 1)× | up to N× |
| Write speed | ≈ N× | 1× (every disk writes everything) | ≈ (N − 1)× for full stripes; small writes are slow | ≈ N ÷ 2× |
| Best for | Scratch / cache / anything re-creatable | OS drive, small server, simple safety | File servers & NAS — capacity + safety | Databases, VMs — speed + safety |
| Weak spot | More disks = higher chance of losing it all | Pays 50%+ of capacity for safety | Slow rebuild; 2nd failure during rebuild is fatal | Costs 50% of capacity |
RAID is NOT a backup. RAID only protects you from a disk failing. It does nothing about accidental deletion, ransomware, corruption, a bad update, fire, flood or theft — a mirrored copy of a deleted file is also deleted, instantly. Real protection follows the 3-2-1 rule: 3 copies of your data, on 2 different kinds of media, with 1 copy off-site.