CS FundamentalsHardGATE CS (PYQ pattern)

Eight disks can be arranged as RAID 1+0 (4 mirrored pairs, striped together) or as RAID 0+1 (two 4-disk stripe sets, the second mirroring the first; a stripe set is useless once any of its disks fails). Two different disks, chosen uniformly at random, fail before any rebuild. What are the probabilities of losing NO data for RAID 1+0 and for RAID 0+1?

  1. A. 6/7 and 6/7
  2. B. 3/7 and 6/7
  3. C. 6/7 and 3/7
  4. D. 4/7 and 3/7

Correct answer: C. 6/7 and 3/7

RAID 1+0 loses data only if both failures hit the same pair: 4 of C(8,2) = 28 pairs, so survival = 24/28 = 6/7. RAID 0+1 survives only if both failed disks lie in the same stripe set (the other set is intact): 2 x C(4,2) = 12 of 28 = 3/7. 4/7 is RAID 1+0's survival with three failures.

More Operating Systems questions

Exams that ask this topic