CS FundamentalsHardGATE
An array has 5 disks in RAID 5 (4 data + 1 rotating parity per stripe, effectively). Compared to plain striping (RAID 0) across the same 5 disks with no parity, what is the usable capacity trade-off?
- A. RAID 5 gives identical usable capacity to RAID 0
- B. RAID 5 gives roughly (N−1)/N of the raw capacity (here 4/5), trading one disk's worth of capacity for the ability to survive one disk failure
- C. RAID 5 gives only half the raw capacity, same as RAID 1 mirroring
- D. RAID 5 always needs at least 2 disks' worth of parity, regardless of N
Correct answer: B. RAID 5 gives roughly (N−1)/N of the raw capacity (here 4/5), trading one disk's worth of capacity for the ability to survive one disk failure
Across N disks, RAID 5 devotes the equivalent of one disk's worth of space to parity (rotated among all disks rather than fixed on one), so usable capacity is (N−1)/N of the raw total — here 4/5 — in exchange for single-disk fault tolerance that pure striping (RAID 0, 0% redundancy) does not provide.
More Operating Systems questions
- A disk subsystem uses C-LOOK (like C-SCAN, but it jumps straight to the lowest pending request instead of running all the way to the…
- In the standard five-state process model, which transition can NEVER happen directly?
- The data structure in which the OS keeps a process's program counter, register contents, state and open-file list is called the:
- Short jobs stuck waiting behind one long CPU-bound job is called the convoy effect. It is characteristic of which scheduling algorithm?
- A system spends most of its time swapping pages in and out and does very little useful work. This condition is called:
- Which page-replacement algorithm can show Belady's anomaly (more frames giving more page faults)?