🎓 BookMCQ
← Back to 10. Mass Storage Structure

📝 Improvement of reliability via redundancy in RAID Structure (12 MCQs)

Using Redundant Disk Information to Survive Failures

Redundancy in RAID improves storage reliability by maintaining additional information that allows data to remain available after certain disk failures. Depending on the RAID configuration, redundancy may use duplicated data, distributed parity, or dedicated parity storage. The RAID controller or software implementation coordinates reads, writes, failure detection, and reconstruction, protecting stored information against specified numbers and patterns of device failures.

Why Independent Disk Copies Reduce Data-Loss Risk

A single storage device can fail because of mechanical damage, electronic faults, or media deterioration. Keeping additional copies or recovery information allows a system to reconstruct unavailable data when a supported failure occurs. Mirroring duplicates information, whereas parity stores calculated relationships between data blocks. These approaches improve fault tolerance but consume additional storage capacity and require recovery procedures.

Mirroring and Parity-Based Reconstruction

RAID 1 maintains duplicate copies of data on separate drives. Parity-based RAID calculates additional information that can reconstruct missing data when a supported disk failure occurs. For a simple single-parity arrangement, parity can be calculated using exclusive OR operations across corresponding data blocks. During reconstruction, surviving data and parity are combined to recover the missing block.

Recovering Data After One Disk Failure

Suppose three disks store data values A, B, and parity P, where P equals A XOR B. If the disk containing B fails, the remaining values allow reconstruction using B equals A XOR P. The controller performs this operation using surviving data and parity information, rebuilding the missing contents onto a replacement device.

Fault Tolerance, Capacity Costs and Rebuild Risks

RAID redundancy improves availability and allows continued operation after supported device failures. However, mirrored and parity configurations reduce usable capacity, while reconstruction increases disk traffic and may degrade performance. Multiple failures can exceed the protection level of an array. RAID also cannot reliably protect against accidental deletion, ransomware, software corruption, or disasters affecting the entire storage system.

Distinguishing Redundancy from Independent Backup

'RAID guarantees protection against every disk failure' is incorrect because each level supports specific failure conditions. 'Parity is always a complete duplicate of every data block' is incorrect because it stores calculated recovery information. 'RAID replaces external backups' is incorrect because redundancy does not protect against all forms of logical damage or site-wide loss.

Exam Focus: Mirroring and Parity Reconstruction

Compare mirrored redundancy with parity-based protection and calculate basic RAID capacity overhead. Practise reconstructing a missing data block using XOR parity. Identify how many disk failures a particular configuration can tolerate. Questions may also distinguish availability, reliability, fault tolerance, and backup protection.

Key Terms of RAID Redundancy

  • Redundancy - Additional recovery information.
  • Mirroring - Maintains duplicate data copies.
  • Parity - Calculated recovery information.
  • XOR - Exclusive-OR parity operation.
  • Reconstruction - Restores missing disk contents.
  • Fault tolerance - Continued operation despite failures.
2
Easy
6
Medium
4
Hard

📝 All Improvement of reliability via redundancy in RAID Structure MCQs

Q1. What best describes the C‑SCAN disk scheduling algorithm?

A.It moves the arm to the physical last cylinder, then reverses direction servicing requests on the way back.
B.It moves the arm in one direction servicing all requests, then jumps to the start and continues in the same direction without servicing during the jump. ✅
C.It services requests in both directions like the SCAN algorithm.
D.It randomly selects cylinders to service regardless of request order.
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The C‑SCAN algorithm scans the disk in a single direction, fulfilling all pending requests as the arm moves upward. When it reaches the highest requested cylinder, it instantly returns to the lowest cylinder and resumes scanning in the same direction. Option B captures this behavior precisely. The other options either describe SCAN, a reverse‑direction move, or random selection, none of which match C‑SCAN’s defined operation, making them incorrect.

Q2. How does C‑LOOK differ from C‑SCAN in handling the end of the request queue?

A.C‑LOOK always moves to the physical last cylinder before reversing.
B.C‑LOOK only goes as far as the last request in the current direction before reversing. ✅
C.C‑LOOK reverses direction immediately after each request is serviced.
D.C‑LOOK services requests out of order to minimize latency.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: C‑LOOK improves on C‑SCAN by limiting the arm’s travel to the outermost pending request rather than the disk’s physical end. This means the arm stops at the highest (or lowest) request in the current direction and then jumps to the opposite extreme request, avoiding unnecessary movement. Option B reflects this behavior. Options A and C misstate the algorithm’s stopping point, while D describes an unrelated random approach, so they are incorrect.

Q3. Why does C‑SCAN tend to provide more uniform average waiting times compared to SCAN?

A.Because it services requests in a circular fashion eliminating directional bias. ✅
B.Because it always starts servicing at cylinder 0.
C.Because it skips every other request to speed up processing.
D.Because it uses random selection of cylinders.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: C‑SCAN’s circular sweep means every request experiences a similar maximum wait time: the arm travels the full range before returning, so no request waits longer due to direction changes. This uniformity reduces variance in wait times compared with SCAN, where requests near the turnaround point may wait longer. Option A correctly identifies the circular, direction‑consistent nature of C‑SCAN. Options B, C, and D describe behaviors that either never occur in C‑SCAN or would increase, not decrease, waiting time variance.

Q4. Given the request queue {98, 183, 37, 122, 14, 124, 65, 67} and a head starting at cylinder 53, what is the service order under C‑SCAN moving upward?

A.65 → 67 → 98 → 122 → 124 → 183 → 14 → 37 ✅
B.67 → 65 → 98 → 124 → 122 → 183 → 37 → 14
C.14 → 37 → 65 → 67 → 98 → 122 → 124 → 183
D.183 → 124 → 122 → 98 → 67 → 65 → 37 → 14
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Starting at 53, C‑SCAN moves upward, so the first requests encountered are 65 and 67, followed by 98, 122, 124, and the highest request 183. After reaching 183 the arm jumps to the lowest pending request (14) and continues upward, servicing 14 then 37. Option A lists this exact sequence. The other options either reverse the initial pair, change the order of higher cylinders, or start with the highest request, which contradicts the upward‑only sweep of C‑SCAN.

Q5. Assume the same queue and head position as the previous question. What is the total head movement distance for C‑SCAN (including the jump) compared with SCAN?

A.C‑SCAN = 350 cylinders, SCAN = 299 cylinders ✅
B.C‑SCAN = 167 cylinders, SCAN = 299 cylinders
C.C‑SCAN = 300 cylinders, SCAN = 350 cylinders
D.C‑SCAN = 400 cylinders, SCAN = 320 cylinders
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: For C‑SCAN the arm travels from 53 to 65 (12), 65→67 (2), 67→98 (31), 98→122 (24), 122→124 (2), 124→183 (59), then jumps from 183 to 0 (183), and finally 0→14 (14) and 14→37 (23). Summing these gives 350 cylinders. SCAN moves upward the same way to 183 (130 cylinders) then reverses and travels down to 14 (169 cylinders), totaling 299 cylinders. Option A matches these calculations; the other options either omit the jump distance or swap the totals, making them inaccurate.

Q6. In a system where requests are clustered between cylinders 40 and 80, which scheduling choice most likely reduces average latency?

A.C‑SCAN because it always starts at cylinder 0
B.C‑LOOK because it limits travel to the actual request range ✅
C.SCAN because it services both directions fully
D.FCFS because order does not matter
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: When requests are densely packed, C‑LOOK’s ability to stop at the last request in the current direction avoids traversing empty regions of the disk, thereby cutting unnecessary movement and latency. C‑SCAN would still jump to the beginning of the disk, incurring extra travel. SCAN reverses direction but still moves to the physical ends, and FCFS provides no optimization for spatial locality. Hence option B correctly identifies C‑LOOK as the most efficient in this scenario.

Q7. How does adding a redundant disk arm improve the reliability of a C‑SCAN based storage system?

A.It provides a backup arm that can take over if the primary arm fails, ensuring continued service. ✅
B.It doubles the speed of request processing, eliminating latency.
C.It allows the system to skip the jump phase entirely.
D.It reduces the number of cylinders on the disk.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Redundancy means an extra mechanical arm is available; if the primary arm suffers a fault, the secondary can assume control, preventing a total system outage. This fault‑tolerant design directly enhances reliability. Option A describes this protective mechanism. Doubling speed (option B) is a performance benefit, not a reliability guarantee. Skipping the jump (option C) changes algorithm behavior, and reducing cylinder count (option D) is unrelated to redundancy, so they are incorrect.

Q8. A storage subsystem uses two identical disks operating in parallel with C‑SCAN scheduling. If one disk fails, what is the expected effect on overall service time?

A.Service time doubles because all requests must be handled by the remaining disk.
B.Service time remains unchanged because the surviving disk continues the same schedule.
C.Service time increases slightly due to higher queue depth, but the system still processes requests in the same order. ✅
D.Service time decreases because fewer disks reduce contention.
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: When one of the redundant disks fails, the remaining disk must handle the combined request load, causing the queue depth to grow and increasing average waiting time. However, because the scheduling algorithm (C‑SCAN) is unchanged, the order of service stays the same. Option C captures this nuance. Option A overstates the impact (it would not exactly double), option B ignores the added load, and option D incorrectly suggests performance improves when redundancy is lost.

Q9. What is the primary relationship between redundancy and fault tolerance in storage systems?

A.Redundancy decreases fault tolerance by adding complexity.
B.Redundancy provides alternative components that can take over when a failure occurs, increasing fault tolerance. ✅
C.Redundancy speeds up data access but does not affect fault tolerance.
D.Redundancy only matters for backup, not for real‑time operation.
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Redundancy means having extra copies or components (such as disks, arms, or controllers) so that if one element fails, another can maintain operation, thereby raising the system’s ability to tolerate faults. Option B directly states this relationship. Option A reverses the effect, option C confuses performance with reliability, and option D limits redundancy to backup scenarios, all of which misrepresent the core concept.

Q10. A designer must achieve 99.9 % reliability for a storage array where each disk has a failure probability of 0.001 per year. Assuming independent failures and using two disks in parallel, which calculation shows the required reliability?

A.1−(0.001)2=0.9999991-(0.001)^2 = 0.999999
B.1−(0.001+0.001)=0.9981-(0.001+0.001) = 0.998
C.1−(0.001×0.001)=0.9999991-(0.001 \times 0.001) = 0.999999 ✅
D.1−(0.001)2=0.9999991-(0.001)^2 = 0.999999
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: The reliability of a parallel redundant system is 1−(Pfail)21 - (P_{\text{fail}})^2 because both disks would need to fail simultaneously. Substituting Pfail=0.001P_{\text{fail}} = 0.001 gives 1−(0.001)2=0.9999991-(0.001)^2 = 0.999999, which exceeds the 99.9 % target. Option C presents this correct formula. Option A repeats the same expression but is labeled incorrectly, option B subtracts the sum of probabilities (incorrect for parallel redundancy), and option D duplicates A’s expression without proper labeling, making them wrong.

Q11. Why does a look‑ahead mechanism (as used in C‑LOOK) reduce unnecessary arm movement?

A.It forces the arm to travel to the physical end of the disk before servicing requests.
B.It stops the arm at the last pending request in the current direction, avoiding travel over empty cylinders. ✅
C.It randomly jumps to any cylinder to minimize travel distance.
D.It reverses direction after each request, halving travel distance.
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: A look‑ahead mechanism examines the pending request list and limits the arm’s motion to the furthest request that actually exists in the current direction. By not moving to the disk’s physical extremes when no requests are present, the arm avoids traversing empty space, saving time and wear. Option B accurately describes this behavior. Options A and C describe actions that would increase, not reduce, movement, while option D mischaracterizes the algorithm’s operation.

Q12. A disk controller uses C‑LOOK with the head starting at cylinder 30 and pending requests at {5, 20, 40, 70, 90}. What is the service order?

A.5 → 20 → 40 → 70 → 90
B.40 → 70 → 90 → 5 → 20 ✅
C.30 → 40 → 70 → 90 → 5 → 20
D.70 → 90 → 5 → 20 → 40
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: C‑LOOK moves upward from the start position, servicing any request greater than the head position. The first requests encountered are 40, then 70, then 90. After reaching the highest pending request, the arm jumps back to the lowest request (5) and continues upward, servicing 5 then 20. Option B lists this exact sequence. Option A starts with the lowest request, which would require a backward move not allowed in C‑LOOK; options C and D either include the head position as a service or reverse the order, making them incorrect.

🔗 Related Topics (MCQs)