CS FundamentalsHardProduct-company MCQ pattern

RAID 5 stripes data across N disks and stores a rotating parity block (the XOR of the corresponding data blocks) on a different disk for each stripe. If exactly one disk fails, what happens?

  1. A. RAID 5 cannot tolerate any disk failure; that is only true of RAID 6
  2. B. All data is permanently lost
  3. C. The array keeps working in a degraded mode, since any missing data block can be reconstructed by XOR-ing the corresponding blocks (data and parity) on the surviving disks
  4. D. The array simply ignores the failed disk's stripes, silently returning zeros

Correct answer: C. The array keeps working in a degraded mode, since any missing data block can be reconstructed by XOR-ing the corresponding blocks (data and parity) on the surviving disks

Parity is the XOR of all the other blocks in that stripe, so XOR-ing the surviving blocks (data and parity) reconstructs whatever is missing, letting RAID 5 survive exactly one disk failure (with reduced performance) — a second simultaneous failure, however, loses data, which is why RAID 6 adds a second parity block for that case.

More Operating Systems questions

Exams that ask this topic