Disk Array Reconstruction Using Dynamic Disk Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional storage systems face inefficiencies and performance degradation during disk array reconstruction, especially when a large-capacity disk fails, as the reconstruction process using a spare disk is time-consuming and degrades array performance, posing risks to data safety and consistency.
Innovation Solution
A method that determines information about a spare disk for recovering data from a failed disk and selects the appropriate disk for reconstructing the disk array based on this information, allowing for efficient and safe reconstruction by choosing between the spare disk and the recovered original disk.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a spare disk is used to reconstruct a failed disk in a disk array, then data recovery is achieved, but reconstruction time increases significantly and array performance degrades
Solution Approach 1:
The system dynamically switches between two reconstruction modes based on real-time conditions: using the original failed disk when it recovers to normal operation (fast reconstruction) or using the spare disk when the original disk is still faulty (safe reconstruction). This dynamic adaptation resolves the contradiction by selecting the optimal mode at each moment.
Solution Approach 2:
The system changes the reconstruction parameter (choice of disk) based on the operational state of the original disk. When the original disk transitions from failed to normal state, the system switches from using the spare disk to using the original disk for reconstruction, thereby reducing reconstruction time while maintaining data safety.
2Reliability
If a spare disk is used for reconstruction, then data safety is maintained, but the disk array operates in degraded performance mode
Solution Approach 1:
The system dynamically adjusts the reconstruction approach based on the original disk's recovery status. Once the original disk returns to normal operation, the system switches to using it for reconstruction, thereby restoring full array performance while maintaining data safety through the validated recovery process.
Solution Approach 2:
The system allows the original failed disk to serve itself by using its own recovered capacity for reconstruction purposes, rather than continuously relying on the spare disk. This self-service approach restores full array performance once the original disk recovers.
3Productivity
If the original failed disk is used for reconstruction after recovery, then reconstruction speed increases, but data consistency risks increase
Solution Approach 1:
The system continuously monitors the operational state of the original disk and uses this feedback to determine the appropriate reconstruction mode. When the original disk recovers to normal state, the system switches to using it for reconstruction, thereby increasing reconstruction speed while maintaining data consistency through real-time state awareness.
Data Source
AI summary
Embodiments of the present disclosure relate to a method, a device and a computer program product for managing a storage system. According to embodiments of the present disclosure, the method comprises, in response to a certain disk of a disk array of the storage system returning from a failed state to a normal state, determining information of a spare disk for recovering data on the storage disk, the first data being stored on the first disk. The method further comprises determining based at least in part on information of the spare disk, a disk from the spare disk and a first disk for reconstructing the disk array. According to embodiments of the present disclosure, in the case that the first disk is recovered from the failed state, the method comprises based on a data amount in the spare disk having not been recovered yet and a data amount associated with the first disk, selecting the spare disk or the first disk for data reconstruction. With the method according to embodiments of the present disclosure, the time for reconstructing a disk array will be reduced effectively.


