RAID Extent Rebuild via Distributed Spare PDs
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional RAID systems face challenges in reducing rebuild time due to increased storage capacity and risk of double PD failure, as the write bandwidth of the hot spare PD becomes a bottleneck, leading to potential data loss.
Innovation Solution
The method involves detecting an inoperative state in a storage device and rebuilding RAID extents by selecting free disk extents from other storage devices to replace the failed ones, using a neighborhood matrix to ensure even distribution and maximize rebuild performance across all PDs, thereby avoiding the limitations of single spare PD write bandwidth.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If traditional RAID systems use a single hot spare PD for rebuilding failed disk extents, then the system maintains simplicity in spare management, but the write bandwidth of the hot spare PD becomes a bottleneck leading to increased rebuild time and potential data loss
Solution Approach 1:
The patent segments the rebuild process by dividing failed disk extents into multiple groups, where each group is rebuilt using a different spare PD. This allows parallel rebuilding operations across multiple spare devices, eliminating the single hot spare bandwidth bottleneck while maintaining manageable complexity through systematic grouping and assignment.
Solution Approach 2:
The patent merges multiple spare PDs into a coordinated rebuild system, where multiple spares work simultaneously to rebuild different segments of failed data. This combines the write bandwidth of multiple spares to achieve faster overall rebuild times compared to using a single hot spare.
2Device complexity
If traditional RAID systems use a single hot spare PD for rebuilding, then the system structure remains simple, but the risk of double PD failure increases during the extended rebuild period
Solution Approach 1:
By segmenting the rebuild process into multiple parallel operations using different spare PDs, the system reduces the total rebuild time for each segment. This segmentation ensures that even if one spare PD or its associated RAID extent fails during rebuilding, other segments continue to rebuild successfully, thereby maintaining system reliability.
Solution Approach 2:
The patent maintains multiple spare PDs in advance rather than relying on a single hot spare, creating a buffer against potential failures during the rebuild process. This prior cushioning ensures that if one spare fails or if a second disk failure occurs, other spares are already available to complete the rebuild operation.
3Ease of manufacture
If RAID extents are concentrated on specific storage devices, then the initial system configuration is simpler, but the rebuild performance is limited by the bandwidth of individual PDs
Solution Approach 1:
The patent applies local quality by distributing different segments of RAID extents to different spare PDs based on their availability and performance characteristics. Each spare PD is assigned specific segments optimally, allowing the system to utilize the combined bandwidth of multiple devices rather than being constrained by a single PD's bandwidth, thereby improving rebuild performance.
Data Source
AI summary
Techniques are disclosed for managing data storage. In one embodiment, the techniques determine one or more RAID extents having a disk extent supported by an extent of storage on a storage device in an inoperative state. Each of the RAID extents contains a respective set of disk extents allocated to that RAID extent and each disk extent is supported by an extent of storage on a storage device of the set of storage devices. The techniques also comprise evaluating a set of values, wherein each value indicates, for a corresponding pair of storage devices from the set of storage devices, a number of RAID extents which contain disk extents belonging to both storage devices of the pair. The techniques also comprise selecting, based on the said evaluation and for each of the one or more RAID extents, a free disk extent for facilitating rebuild of that RAID extent, wherein the said free disk extent is supported by an extent of storage of one of the set of storage devices other than one of the storage devices associated with that RAID extent.


