In the game, this was a team splitting up quiz answersPlay “Split It, Remember It”
| In the game | In real IT |
|---|---|
| Team members | Disks |
| Answers (Y/N) | Data (1 and 0) |
| Even-up note | Parity |
| Absent kid | Failed disk |
| Recovering the absent kid’s part | Rebuild |
| A second kid is absent | Double failure |
Parity is a “check bit”
RAID 5 splits data across several disks and adds one more piece: “parity.” Parity bits are set so that the number of 1s in each bit position is always even (as a calculation, it’s XOR — exclusive OR). If one disk’s worth disappears, you can recover the original data by working out “0 or 1, to make it even?” In servers, the RAID controller (PERC on Dell PowerEdge) does this calculation automatically.
Types of RAID
| Type | How it works | Survives | Capacity* |
|---|---|---|---|
| RAID0 | Splits data across disks | none | 4TB |
| RAID1 | Writes the same data to 2 disks | 1 of the 2 | half |
| RAID5 | 1 parity | 1 disk | 3TB |
| RAID6 | 2 parities | 2 disks | 2TB |
| RAID10 | Mirror + split | 1 per pair | 2TB |
*With four 1 TB disks. Splitting data across disks is called “striping,” and writing the same data to two disks is called “mirroring.”
The rebuild is the most dangerous time
When you replace a failed disk, its contents are calculated from the remaining disks and written back (a rebuild). With large disks this takes hours, and if another disk fails meanwhile, RAID 5 loses the data. That’s why systems keep a spare disk ready (a hot spare) to start rebuilding immediately, or choose RAID 6, which survives two failures.
RAID is not a backup
RAID only protects against “disk failure.” A file deleted by mistake or encrypted by ransomware is gone on every disk alike. Take backups separately.
How the FE exam asks it
Common questions: “If you build RAID 5 with four 1 TB disks, how many TB can you use?” (answer: 3 TB), and “how many disks can fail at the same time without losing data?”
- Parity is a check bit that “makes the number of 1s even” (XOR)
- RAID 5 survives one disk failure; capacity is (number of disks − 1) disks’ worth
- RAID is not a backup. Deleted files don’t come back