CS FundamentalsHardGATE CS (PYQ pattern)

A RAID 0 array has 5 disks and a chunk size of 4 blocks (chunk k is on disk k mod 5, as the (k div 5)-th chunk on that disk). On which disk, and at which block offset within that disk, does logical block 137 live?

  1. A. disk 5, offset 25
  2. B. disk 4, offset 29
  3. C. disk 1, offset 24
  4. D. disk 4, offset 25

Correct answer: D. disk 4, offset 25

Chunk number = 137 div 4 = 34 (offset 1 in the chunk). Disk = 34 mod 5 = 4; it is chunk 6 on that disk, so the block offset is 6x4 + 1 = 25.

More Operating Systems questions

Exams that ask this topic