About this interactive
RAID 5 writes data blocks across the disks and adds a parity block to each stripe. With three disks, each stripe has two data blocks and one parity block, and the parity moves to a different disk with each stripe.
The parity is an XOR of the data, bit by bit. Two bits that are the same give 0; two bits that differ give 1. So 0 and 0 give 0, 1 and 1 give 0, and 0 and 1 give 1.
If a disk fails, XOR what survives. Where a surviving data bit and the parity bit match, the lost bit was 0; where they differ, it was 1. Example: a data block of 1011 and parity of 0110 give a lost block of 1101. That is how the array rebuilds the failed disk onto a new one.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →