Data processing method and device in raid reconstruction process
A data processing and data technology, applied in the storage field, can solve problems such as business data loss, data loss, and inability to complete business processing, so as to avoid data loss and improve correctness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0112] In the first embodiment, the RAID may determine corresponding first location information for each first subcommand.
[0113] still with image 3 The block D604 shown is taken as an example, if subcommand 21 and subcommand 23 are both the first subcommand that fails to read, then RAID determines the area corresponding to subcommand 21 for repairing based on the start address and end address of subcommand 21 The position in the stripe of the desired read data, i.e., image 3 The position of the region pointed to by the neutron command 21 in the bar; based on the start address and the end address of the subcommand 23, determine the position of the required read data in the bar for repairing the corresponding region of the subcommand 23, that is, image 3 The position in the bar of the region pointed to by neutron command 23.
[0114] After the first position information corresponding to each first subcommand is determined in step 102, step 103 and step 104 are performed ...
Embodiment 2
[0118] In the second embodiment, the RAID determines the first position information of the data to be read in step 102 according to the area corresponding to the read command in step 101, or directly specifies that the first position information is the entire strip.
[0119] For example, when the read command in step 101 is a command issued based on the service read IO, it may only correspond to part of the data in a certain block, such as Figure 5 As shown, the read command corresponds to the shaded area on the left in the bar. The RAID determines the position of the shadow area in the stripe as the first position information.
[0120] like Image 6 As shown, the RAID reads the data of the corresponding area (shaded area) in P302 and D X data of the corresponding area (shaded area) in . RAID is based on the read data of the shaded area in P302 and D X The data in the shaded area is checked and calculated to obtain the data in the area corresponding to the read command in...
Embodiment 3
[0124] In the third embodiment, the RAID determines, according to the address ranges corresponding to all the failed read subcommands (first subcommands), the first location information of the read data needed to repair the area corresponding to the failed read subcommand.
[0125] Specifically, the start address corresponding to each first subcommand is obtained. From the obtained start addresses, the minimum start address and the maximum start address are determined. The corresponding position of the minimum start address in the bar is determined as the start position of the first position information; the corresponding position of the end address of the first subcommand including the largest start address in the bar is determined as the first position The end position of the location information. That is, the position in the strip of the area between the minimum start address and the maximum end address is determined as the first position information.
[0126] still with ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


