📝 Extensions of RAID structure (6 MCQs)
Advanced Combinations and Enhancements of RAID
RAID extensions expand traditional array arrangements through nested configurations, additional redundancy mechanisms, hot spares, and improved failure management. Examples include RAID 50, which combines RAID 5 groups with striping, and RAID 60, which combines RAID 6 groups with striping. These designs allow storage administrators to balance larger capacities, parallel performance, and fault tolerance across multiple drive groups.
Why Basic RAID Levels Need Additional Flexibility
Traditional RAID levels have limitations in large storage environments. A single parity group may create write overhead, while rebuilding a large array can take considerable time and expose data to additional failures. Combining arrays into nested levels distributes workload and allows organisations to manage capacity and protection according to different service requirements.
Nested Arrays, Hot Spares and Distributed Redundancy
Nested RAID combines multiple lower-level arrays into a higher-level arrangement. RAID 50 stripes across RAID 5 groups, while RAID 60 stripes across RAID 6 groups. A hot spare remains available for automatic replacement after a supported drive failure. Other enhancements include distributed spare capacity, improved parity management, and controller-supported monitoring or rebuild operations.
Organising Eight Drives into RAID 60
Suppose eight equal drives are divided into two RAID 6 groups of four drives each. Each group provides approximately 8 TB of usable capacity when every drive has 4 TB. Striping across both groups creates RAID 60 with approximately 16 TB usable capacity. Each RAID 6 group can tolerate two drive failures under its protection model.
Scalability, Rebuild Behaviour and Complexity
Nested RAID configurations can increase aggregate throughput and provide flexible failure protection across larger arrays. However, they require more drives, additional capacity overhead, and careful group placement. Hot spares reduce the delay before reconstruction begins but do not prevent all data loss. Controller design, workload, rebuild speed, and failure distribution determine actual availability and performance.
Clarifying Nested Levels and Spare Drives
'RAID 50 means fifty physical drives' is incorrect because the number identifies a combination of RAID levels. 'A hot spare immediately provides another complete data copy' is incorrect because it is a replacement target used during reconstruction. 'RAID 60 tolerates any number of failures' is incorrect because each underlying RAID 6 group supports a defined maximum of two drive failures.
Exam Focus: Nested RAID Capacity and Failure Groups
Identify the underlying RAID groups in RAID 50 and RAID 60 before calculating capacity. Determine failure tolerance separately for each group and consider where failed drives are located. Explain the purpose of hot spares and how they affect rebuild initiation. Compare nested RAID with traditional RAID levels in scalability, protection, performance, and operational complexity.
Key Terms of RAID Extensions
- RAID 50 - Striping across RAID 5 groups.
- RAID 60 - Striping across RAID 6 groups.
- Hot spare - Ready replacement drive.
- Nested RAID - Combination of multiple RAID levels.
- Rebuild - Reconstructs missing drive data.
- Failure group - Drives sharing redundancy protection.
📝 All Extensions of RAID structure MCQs
Q1. Using the C‑SCAN algorithm, a disk has cylinders numbered 0–199, the read‑head starts at cylinder 53, and the pending requests are 98, 183, 37, 122, 14, 124, 65, and 67. What is the total number of cylinders the head must travel to service all requests?
📖 Explanation: The C‑SCAN algorithm moves the head upward, servicing all requests greater than the current position in sorted order, then jumps to the lowest cylinder and continues. Calculating the distances: 53→65 (12), 65→67 (2), 67→98 (31), 98→122 (24), 122→124 (2), 124→183 (59), 183→199 (16), jump 199→0 (199), 0→14 (14), 14→37 (23). Adding these gives 382 cylinders. Options B, C, and D underestimate or overestimate the travel, so they are incorrect. This total reflects the actual work the disk arm must perform in the given scenario.
Q2. How does the C‑LOOK scheduling algorithm differ from the standard C‑SCAN algorithm in terms of head movement after servicing the last request in one direction?
📖 Explanation: In C‑SCAN the head always proceeds to the physical end of the disk before returning to the start, even if no requests exist beyond the last one. C‑LOOK improves on this by stopping at the furthest pending request in the current direction and then jumping directly to the nearest pending request at the opposite end. Therefore option B correctly describes the difference. Option A reverses the behaviors, option C misstates the jump mechanism, and option D incorrectly claims random servicing; those statements do not match the algorithm definitions.
Q3. A disk with 200 cylinders has pending requests at cylinders 10, 20, 80, and 90, and the read‑head is currently at cylinder 50 moving upward. Which scheduling algorithm will result in the smallest total head movement?
📖 Explanation: Starting at cylinder 50 and moving upward, C‑LOOK will service 80 and 90, then jump directly to the lowest pending request at 10 and continue to 20, avoiding travel to cylinder 199. The total movement is 30 + 10 + 10 + 10 = 60 cylinders. FCFS would follow the arrival order, causing larger jumps, and SSTF would alternate between nearest requests, still covering more distance. C‑SCAN must travel to the end of the disk before wrapping, resulting in a much higher total. Thus C‑LOOK yields the smallest movement.
Q4. What is the definition of the C‑LOOK disk scheduling algorithm?
📖 Explanation: The C‑LOOK algorithm is defined as a variant of C‑SCAN that only moves the head as far as the last request in the current direction before jumping to the first pending request on the opposite side. This definition matches option A. Option B describes a simple first‑come, first‑served approach, option C describes SSTF, and option D incorrectly states that LOOK scans the whole disk twice. Hence only option A correctly captures the algorithm’s behavior.
Q5. Why does the LOOK algorithm generally achieve a lower average seek time than the traditional SCAN algorithm on workloads with clustered requests?
📖 Explanation: LOOK improves on SCAN by eliminating travel to the extreme cylinders when no requests exist there. It stops the head at the outermost request in each direction, then reverses, so the arm only covers the range that actually contains pending requests. This reduction in unnecessary movement lowers the total distance the head travels, which directly decreases the average seek time for workloads where requests are clustered. Options A and D mischaracterize the algorithm’s direction handling, and option B incorrectly claims LOOK limits movement to the outermost cylinder, which is not the key advantage.
Q6. A real‑time video streaming server uses a disk with 5000 cylinders. At a critical moment, it receives two batches of read requests: Batch 1 at cylinders 4500‑4600 and Batch 2 at cylinders 100‑200. The head is at cylinder 2500 and must finish both batches before playback resumes. Which algorithm should the system employ to minimize the maximum latency of any request, and why?
📖 Explanation: In a real‑time video scenario, the goal is to keep the longest wait time as short as possible. C‑LOOK services each batch of requests without moving to empty extreme cylinders, jumping directly between the high‑range batch (4500‑4600) and the low‑range batch (100‑200). This avoids the large travel that SCAN or C‑SCAN would incur by sweeping the entire disk. FCFS would preserve arrival order, potentially delaying one batch, and SSTF might keep the head near the current position but could starve the distant batch. Therefore option D correctly identifies C‑LOOK as the optimal choice.