CN102495680A - Reconstruction method of RAID (Redundant Array of Independent Disks) system - Google Patents
Reconstruction method of RAID (Redundant Array of Independent Disks) system Download PDFInfo
- Publication number
- CN102495680A CN102495680A CN201110422950XA CN201110422950A CN102495680A CN 102495680 A CN102495680 A CN 102495680A CN 201110422950X A CN201110422950X A CN 201110422950XA CN 201110422950 A CN201110422950 A CN 201110422950A CN 102495680 A CN102495680 A CN 102495680A
- Authority
- CN
- China
- Prior art keywords
- write operation
- logical volume
- raid
- zone
- place
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a reconstruction method of an RAID (Redundant Array of Independent Disks) system, comprising the following steps of: reconstructing the RAID system based on a logical volume; and reconstructing an area of the logical volume on which a write operation happens. With the adoption of the reconstruction method of the RAID system, the reconstruction efficiency can be improved and the reconstruction process is shortened.
Description
Technical field
The present invention relates to computer memory technical field, particularly (Redundant Array of Independent Disks, RAID) technology relate in particular to the method for reconstructing of a kind of RAID system to raid-array.
Background technology
As the basis and the critical component of network store system, RAID with its fast, the characteristics of magnanimity and high reliability and being celebrated.After the RAID technology occurs, very extensive in the application demand of every field such as industry, military affairs, education, also be industrial hot spot to the RAID Study on Technology always.
HotSpare disk under normal circumstances as backup usefulness, is not used in data storage, has only when in the RAID system hard disk corruptions being arranged, to replace the inefficacy dish automatically, is used to store data, has improved safety of data, thereby realizes that safety is redundant.Recover the data on the inefficacy dish through adding HotSpare disk, RAID rebuilds the data that can recover the inefficacy dish from the beginning to the end, rebuild accomplish after HotSpare disk will become formal member and coil and replace original inefficacy dish.Like this, the reconstruction function through RAID can improve its reliability.
Except RAID0, the function that other RAID level system all provides the inefficacy dish to rebuild automatically.RAID1,10,4, systems such as 5 allow a disk failure, and RAID6 allows two dishes to lose efficacy especially, rebuilds the reliability that function has greatly strengthened the RAID system.But because that the member of RAID system is coiled is generally all very big, the process of reconstruction of finishing one whole needs for a long time.Rebuild generally and carry out on the backstage, when doing reconstruction operation, the read-write that has upper layer application probably takes place, and like this, reconstruction can seriously influence the IO performance of RAID system.And in process of reconstruction, the situation that does not generally allow other disk failure takes place, and the reconstruction cycle of existing RAID system is longer, therefore can cause the RAID system to be highly brittle a little less than.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the method for reconstructing of a kind of RAID system, can greatly improve the reconstruction speed of RAID system.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
A kind of method for reconstructing of independent redundancy magnetic disc array system, this method may further comprise the steps:
In raid-array RAID system, when write operation took place, the write operation sign of logical volume that the place, zone of this write operation takes place was set to effective, utilized the bitmap table of this logical volume simultaneously, writes down said zone write operation had taken place;
When the disk groups that low-quality disk takes place in need be to said RAID system was rebuild, only said write operation sign was set to write down in the effective logical volume zone that write operation took place and rebuilds.
In sum, the method for reconstructing of the RAID system that the present invention proposes, logic-based involve in the reconstruction of capable RAID system, and only the zone that write operation took place on the logical volume are rebuild, and can improve the efficient of reconstruction, shorten the process of rebuilding.
Description of drawings
Fig. 1 is the schematic flow sheet of the embodiment of the invention one.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment that the present invention is done to describe in detail further below.
Several disks can be formed other disk groups of certain array class in existing RAID system; One or several has other disk groups of same array class and logically constitutes a volume group; A volume group will be divided into several logical volumes in logic again.When setting up each logical volume, will write down following information: the bitmap table of the identification number of logical volume, the identification number of affiliated disk groups and this logical volume, each is with the zone (comprising the band more than at least one) on the corresponding disk.
And in practical application, normally: RAID system has only few locations that write operation has taken place, most positions or virgin state after newly-built on it.
Based on this, core concept of the present invention is: the logic-based volume, carry out the reconstruction of RAID system, and promptly only the zone that write operation took place on the logical volume is rebuild.So, can improve the efficient of reconstruction, shorten the process of rebuilding.
Fig. 1 is the schematic flow sheet of the embodiment of the invention one, and is as shown in Figure 1, and this embodiment comprises:
Here, through the logical volume that write operation takes place is identified, help in the subsequent reconstruction process only to there being the logical volume of write operation to rebuild.Simultaneously, also utilize bitmap table that record is carried out in the zone that write operation took place here, help in the subsequent reconstruction process, only rebuilding to this zone.So, can improve reconstruction efficient.
Further, utilize the bitmap table of this logical volume, write down said zone and write operation had taken place can take following step to realize:
Bit with the zone that write operation takes place correspondence in said bitmap table is set to be used to identify the information that write operation had taken place.
In this step, when needs are rebuild, only the zone that write operation took place in the existing effective logical volume is rebuild.Like this, guaranteed on the one hand to be necessary the zone that rebuilds to have avoided on the other hand the zone that need not rebuild, thereby can improve reconstruction efficient, shortened process of reconstruction, strengthened the security of process of reconstruction.
This step is when specifically rebuilding; Travel through the write operation sign of each logical volume, wherein, for the invalid logical volume of write operation sign; Can skip reconstruction; And identify effective logical volume for write operation, and then inquire about corresponding bitmap table, only rebuild the bit The corresponding area that is set to be used to identify the information that write operation took place in this bitmap table.
Preferably, the RAID system is when each logical volume of initial creation, and it is invalid the write operation sign of each logical volume to be initialized as, and all bits of the bitmap table of each logical volume are set to be used to identify the information that write operation did not take place.Particularly, can use " 0 " expression invalid, " 1 " expression effectively, and is same, is used to identify the information that write operation took place and can be " 1 ", and being used to identify the information that write operation did not take place can " 0 ", in practical application, is not limited to above-mentioned expression way.
Further, in order to ensure the reliability of rebuilding, the write operation of all logical volumes of RAID system sign and bitmap table information are as metadata store.
Further, the information of all logical volumes of said RAID system is managed with the mode of chained list, to improve the efficiency of management.
In sum, more than being merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. the method for reconstructing of an independent redundancy magnetic disc array system is characterized in that, this method may further comprise the steps:
In raid-array RAID system, when write operation took place, the write operation sign of logical volume that the place, zone of this write operation takes place was set to effective, utilized the bitmap table of this logical volume simultaneously, writes down said zone write operation had taken place;
When the disk groups that low-quality disk takes place in need be to said RAID system was rebuild, only said write operation sign was set to write down in the effective logical volume zone that write operation took place and rebuilds.
2. method according to claim 1; It is characterized in that; Said method further comprises: when creating each logical volume, it is invalid that the write operation sign of this logical volume is initialized as, and all bits of the bitmap table of this logical volume are set to be used to identify the information that write operation did not take place.
3. method according to claim 1 is characterized in that, the said bitmap table of utilizing this logical volume writes down said zone and write operation had taken place is:
Bit with the zone that write operation takes place correspondence in said bitmap table is set to be used to identify the information that write operation had taken place.
4. method according to claim 1 is characterized in that, said method further comprises:
The write operation sign of all logical volumes of said RAID system and bitmap table information are as metadata store.
5. method according to claim 4 is characterized in that, said method further comprises:
The information of all logical volumes of said RAID system is managed with the mode of chained list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110422950XA CN102495680A (en) | 2011-12-16 | 2011-12-16 | Reconstruction method of RAID (Redundant Array of Independent Disks) system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110422950XA CN102495680A (en) | 2011-12-16 | 2011-12-16 | Reconstruction method of RAID (Redundant Array of Independent Disks) system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102495680A true CN102495680A (en) | 2012-06-13 |
Family
ID=46187509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110422950XA Pending CN102495680A (en) | 2011-12-16 | 2011-12-16 | Reconstruction method of RAID (Redundant Array of Independent Disks) system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102495680A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104142872A (en) * | 2014-08-13 | 2014-11-12 | 浪潮电子信息产业股份有限公司 | Quick reestablishment method for RAID (redundan array of inexpensive disk) |
US9189311B2 (en) | 2013-01-29 | 2015-11-17 | International Business Machines Corporation | Rebuilding a storage array |
US9378093B2 (en) | 2013-04-25 | 2016-06-28 | Globalfoundries Inc. | Controlling data storage in an array of storage devices |
CN108874321A (en) * | 2018-06-29 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of raid-array data reconstruction method, device and equipment |
CN108874314A (en) * | 2018-05-31 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of reconstructing method and device of raid-array |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101387976A (en) * | 2008-11-07 | 2009-03-18 | 清华大学 | Logical volume rapid synchronization method based on data differentia |
CN101840360A (en) * | 2009-10-28 | 2010-09-22 | 创新科存储技术有限公司 | Rapid reconstruction method and device of RAID (Redundant Array of Independent Disk) system |
CN101840308A (en) * | 2009-10-28 | 2010-09-22 | 创新科存储技术有限公司 | Hierarchical memory system and logical volume management method thereof |
-
2011
- 2011-12-16 CN CN201110422950XA patent/CN102495680A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101387976A (en) * | 2008-11-07 | 2009-03-18 | 清华大学 | Logical volume rapid synchronization method based on data differentia |
CN101840360A (en) * | 2009-10-28 | 2010-09-22 | 创新科存储技术有限公司 | Rapid reconstruction method and device of RAID (Redundant Array of Independent Disk) system |
CN101840308A (en) * | 2009-10-28 | 2010-09-22 | 创新科存储技术有限公司 | Hierarchical memory system and logical volume management method thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9189311B2 (en) | 2013-01-29 | 2015-11-17 | International Business Machines Corporation | Rebuilding a storage array |
US9378093B2 (en) | 2013-04-25 | 2016-06-28 | Globalfoundries Inc. | Controlling data storage in an array of storage devices |
CN104142872A (en) * | 2014-08-13 | 2014-11-12 | 浪潮电子信息产业股份有限公司 | Quick reestablishment method for RAID (redundan array of inexpensive disk) |
CN108874314A (en) * | 2018-05-31 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of reconstructing method and device of raid-array |
CN108874321A (en) * | 2018-06-29 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of raid-array data reconstruction method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8307159B2 (en) | System and method for providing performance-enhanced rebuild of a solid-state drive (SSD) in a solid-state drive hard disk drive (SSD HDD) redundant array of inexpensive disks 1 (RAID 1) pair | |
US20090327603A1 (en) | System including solid state drives paired with hard disk drives in a RAID 1 configuration and a method for providing/implementing said system | |
CN102880428B (en) | The creation method of distributed Redundant Array of Independent Disks (RAID) and device | |
CN102012847B (en) | Improved disk array reconstruction method | |
CN101923501B (en) | Disk array multi-level fault tolerance method | |
CN103034458B (en) | Method and the device of Redundant Array of Independent Disks (RAID) is realized in solid state hard disc | |
WO2016078193A1 (en) | Raid system and method based on solid-state storage medium | |
CN103699457A (en) | Method and device for restoring disk arrays based on stripping | |
CN104035830A (en) | Method and device for recovering data | |
CN101840360A (en) | Rapid reconstruction method and device of RAID (Redundant Array of Independent Disk) system | |
CN101984400B (en) | RAID control method, device and system | |
CN102024044A (en) | Distributed file system | |
CN102799533B (en) | Method and apparatus for shielding damaged sector of disk | |
CN103336727B (en) | The method that NAND flash memory storage equipment is carried out data manipulation | |
CN103488432B (en) | Hybrid disk array, deferred write verification method for hybrid disk array, and data recovery method for hybrid disk array | |
CN104142872A (en) | Quick reestablishment method for RAID (redundan array of inexpensive disk) | |
CN102495680A (en) | Reconstruction method of RAID (Redundant Array of Independent Disks) system | |
CN103019894B (en) | Reconstruction method for redundant array of independent disks | |
CN102135862B (en) | Disk storage system and data access method thereof | |
CN103019623A (en) | Memory disc processing method and device | |
CN103729149A (en) | Data storage method | |
CN102226892B (en) | Disk fault tolerance processing method and device thereof | |
CN103645862A (en) | Initialization performance improvement method of redundant arrays of inexpensive disks | |
CN105302665A (en) | Improved copy-on-write snapshot method and system | |
Rosenthal | The medium-term prospects for long-term storage systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120613 |