Unlock instant, AI-driven research and patent intelligence for your innovation.

Data recovery method and device for redundant array of independent disks

A technology of independent disk redundancy and recovery method, applied in the field of storage, can solve problems such as large risks, and achieve the effect of improving reliability

Active Publication Date: 2013-06-05
CHENGDU HUAWEI TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present invention provide a data recovery method and device for a redundant array of independent disks, which can at least solve the problem of relatively large risks in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data recovery method and device for redundant array of independent disks
  • Data recovery method and device for redundant array of independent disks
  • Data recovery method and device for redundant array of independent disks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] image 3 It is a flowchart of a RAID data recovery method according to Embodiment 1 of the present invention. The method can be implemented in the above-mentioned application system, and can be executed by a management device and a control system in the application system. Such as image 3 As shown, the method includes the following steps:

[0029] Step S302, associating the protection disk with the RAID;

[0030] For example, according to the ID of the RAID to be protected and the ID of the protected disk input by the user, an association between the protected disk and the RAID is established. In the actual application system, the user can input the information of the RAID to be protected in the interface provided by the management device, and then input the information of the free disk to be used as the protected disk, and then notify the control system to combine the RAID with the protected disk by issuing corresponding instructions. Disks are associated, for exam...

Embodiment 2

[0039] Taking the RAID level as RAID5 as an example, the details are as follows: image 3 The specific processing flow of the data recovery method shown includes the following steps:

[0040] Step 1: If Figure 4 As shown, associate the RAID5 to be protected with the free disk as the protected disk; this step corresponds to image 3 Step S302 in.

[0041] Step 2: Obtain the data of each stripe of RAID5 in sequence, and calculate the protection data corresponding to each stripe according to the obtained data of each stripe;

[0042] Wherein, for each stripe, the protection data Q corresponding to the stripe can be calculated according to the Q check algorithm of RAID6, see the following formula (1) for details:

[0043] Q = 2 0 × D 0 ⊕ 2 1 × D 1 ⊕ 2 2...

Embodiment 3

[0069] Compared with RAID5, the only difference between RAID3 and RAID5 is that the P parity data in RAID3 are all stored on the same parity disk, while the P parity data in RAID5 are distributed on each member disk (that is, the disk included in RAID), Therefore, when the above-mentioned data recovery method is applied to RAID3, the specific specific processing flow is the same as that in the second embodiment above, and will not be repeated here.

[0070] Similarly, when the above-mentioned data recovery method is applied to RAID3, the specific specific processing flow is also the same as that in the above-mentioned second embodiment.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a data recovery method and a data recovery device for a redundant array of independent disks (RAID), and belongs to the technical field of storage. The RAID comprises a plurality of disks; data in the RAID is divided into a plurality of stripes; and stripe units of each stripe are distributed on different disks of the RAID. The data recovery method comprises the following steps of: correlating a protection disk to the RAID; generating protection data by using the data in the RAID; writing the protection data into the protection disk; and when at least one disk in the RAID fails, recovering in the data in the disk which fails by using the protection data in the protection disk and the data in the disk which does not fail in the RAID. The data recovery method and the data recovery device improve the reliability of the RAID and avoid a great risk caused by data migration in the prior art on the basis of not changing the RAID.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a data recovery method and device for a redundant array of independent disks (RedundantArray of Independent Disks, RAID). Background technique [0002] In the field of storage technology, how to improve the reliability of independent disk arrays (also referred to as disk arrays (DiskArray) for short) has always been the focus and focus of research. At present, different RAIDs have different characteristics, for example: the read and write performance of RAID5 is higher than that of RAID6 , but lower than RAID6 in terms of reliability (RAID5 can only support single-disk failure, and RAID6 can support double-disk failure). [0003] Therefore, in order to improve reliability, the high read / write performance of RAID5 and the high reliability of RAID6 can be utilized at the same time. Multiple reads) scenario, first create RAID5 to store the written data, and then migrate fr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/14G06F3/06
Inventor 胡伟薛迎春
Owner CHENGDU HUAWEI TECH