CN102207893A - Redundant array of inexpensive disk (RAID) management device and method - Google Patents

Redundant array of inexpensive disk (RAID) management device and method Download PDF

Info

Publication number
CN102207893A
CN102207893A CN2010101343049A CN201010134304A CN102207893A CN 102207893 A CN102207893 A CN 102207893A CN 2010101343049 A CN2010101343049 A CN 2010101343049A CN 201010134304 A CN201010134304 A CN 201010134304A CN 102207893 A CN102207893 A CN 102207893A
Authority
CN
China
Prior art keywords
raid
disk
data
bad piece
bad
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.)
Granted
Application number
CN2010101343049A
Other languages
Chinese (zh)
Other versions
CN102207893B (en
Inventor
严杰
祝夭龙
熊晖
周烽
裴春清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
BANGNUO MEMORY SCIENCE AND TECHNOLOGY Co Ltd BEIJING
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by BANGNUO MEMORY SCIENCE AND TECHNOLOGY Co Ltd BEIJING filed Critical BANGNUO MEMORY SCIENCE AND TECHNOLOGY Co Ltd BEIJING
Priority to CN201010134304.9A priority Critical patent/CN102207893B/en
Publication of CN102207893A publication Critical patent/CN102207893A/en
Application granted granted Critical
Publication of CN102207893B publication Critical patent/CN102207893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a redundant array of inexpensive disk (RAID) management device and method. The RAID management device comprises a standard RAID model manager, a fault-tolerant RAID model manager, a fault-carrying RAID model manager, and a classification management controller, wherein the standard RAID model manager runs according to an RAID operation mode meeting the RAID standard, prompting the existence of a bad disk and stopping the operation of the disk if an data write-in error occurs during record data processing; the fault-tolerant RAID model manager is used for using a good block to substitute for the data block to ensure that the data are written in correctly when a data block exists during the record data processing; the fault-carrying RAID model manager is used for continuously using the disk with the data block to carry out data write-in by allowing a certain amount of data loss during the record data processing; and the classification management controller is used for pre-setting one or more of a standard RAID running model, a fault-tolerant RAID running model and a fault-carrying RAID running model according to the requirement of actual services so as to control corresponding one or more of the standard RAID model manager, the fault-tolerant RAID model manager and the fault-carrying RAID model manager to perform corresponding operations.

Description

The management equipment of Redundant Array of Inexpensive Disc and method
Technical field
The present invention relates to the management equipment and the method for a kind of Redundant Array of Inexpensive Disc (RAID), relate in particular to a kind of RAID management equipment and method of RAID dish that allows to lead astray dish work and can reconstruct have the bad piece of disk of some.
Background technology
In computer system, RAID (Redundant Arrays of Independcnt Disks, i.e. Redundant Array of Inexpensive Disc) is a known method that is used to preserve significant data.The rank of RAID has developed a plurality of basic from the proposition of RAID notion till now.In general, RAID comprises one group of disk array, and part is used to write data and is used to deposit the parity data relevant with those data with part in the disk, and wherein data and parity data are assigned to a plurality of disks.If the disk block fault or the whole magnetic disk of which storage data or parity data all break down, then allow the RAID storage system to recover raw data from remaining storage data and parity data.In being known as one group of disk block of RAID band, data and parity data are relative to each other.
That use is more at present is RAID 5, also be the safety that guarantees data with the check bit of data, but it is not the check bit of coming store data with independent hard disk, but the check bit of data segment is deposited on each hard disk alternately.Like this, any one disk failures can be rebuild the data of damage according to the check bit on other hard disks.
Present most of user pays much attention to data security and redundancy.They generally can adopt has the RAID array that data are recovered redundancy feature, as RAID5 and regularly carry out data backup, but prior art has been neglected the daily servicing of RAID array, when RAID occurring and fall the problem of dish, usual way carries out hard disk exactly and changes, the defective of this method is that data can't be recovered, and can cause the loss that is difficult to retrieve when having two above hard disks to go offline in the array.
The main cause that disk array falls dish takes place is: during data on system's access hard disk, should obtain corresponding data in the stand-by period and the multiplicity of regulation, otherwise system can't operate as normal, meets the demands so system all can be provided with corresponding stand-by period and multiplicity.Because the problem that exists the read-write of the time of hard disk processing data access fault to postpone, in corresponding waiting time and multiplicity, do not obtain the response of hard disk, so system may labelling hard disk mistake, and this piece hard disk is set falls dish, may this be some zones of hard disk this time in fact, has bad piece, influenced reading and writing data.
Disk array takes place at present fall to cross-examine topic, the keeper generally can only change hard disk, carries out weight.When if other disks exist bad piece or reconstruct in the array, there is disk to fall dish, can cause the reconstruct failure, data can't be recovered, and lose great.
Summary of the invention
The object of the present invention is to provide a kind of management equipment of dividing fault-tolerant rank to control, thereby the user can use the RAID array according to the operational mode that the user is provided with to RAID.
Thereby another object of the present invention is to provide a kind of RAID management equipment and method that guarantees to lead astray the dish operation by the loss of data that allows some.
Another object of the present invention is to provide a kind of and taking inventory the RAID management equipment and the method that under the situation of bad piece generation dish reconfiguring false, still can continue reconstruct because of RAID.
According to an aspect of the present invention, a kind of RAID management equipment is provided, comprises: standard RAID mode manager, to be used for according to the RAID operational mode operation that meets the RAID standard, if the data write error mistake takes place in record data are handled, then point out low-quality disk and stop operation this low-quality disk; Fault-tolerant RAID mode manager is to be used for guaranteeing that by using the good piece of reserving in advance to replace bad piece data are correctly write when when there is the bad piece of disk in the record data processing; Tape error RAID mode manager writes to be used for continuing to use the disk that bad piece is arranged to carry out data in the record data processing by the loss of data that allows some; With the differentiated control controller, to be used for according to the standard RAID operational mode, fault-tolerant RAID operational mode and the tape error RAID operational mode that set in advance, operate for corresponding one in control criterion RAID mode manager, fault-tolerant RAID mode manager, the tape error RAID mode manager.
Described tape error RAID mode manager can comprise the low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and, when the bad block count of particular disk reaches predetermined maximum bad piece and counts, carry out low-quality disk by predetermined alarm mode and report to the police.
Described tape error RAID mode manager can comprise reconstructed module; When described reconstructed module selects to coil reconstruct the user, coil reconstruction processing, when the strip data reconfiguring false took place, the data of duplicating low-quality disk respective strap position and continued reconstruction processing and do not stop reconstruct to new building.
According to a further aspect in the invention, provide a kind of RAID management equipment, comprising: tape error RAID operational mode manager writes to be used for continuing to use the disk that bad piece is arranged to carry out data by the loss of data that allows some when record data are handled.
According to a further aspect in the invention, provide a kind of RAID management equipment, comprising: tape error RAID operational mode manager, when the user selects to coil reconstruct, coil reconstruction processing.If in restructuring procedure owing to some data in other disk of not picked out among the former RAID make a mistake when causing this strip data reconfiguring false, on the disk that the locational data of respective strap of duplicating the low-quality disk of having been kicked out of among the former RAID are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
Description of drawings
By the description of carrying out below in conjunction with the accompanying drawing that an example exemplarily is shown, above-mentioned and other purposes of the present invention and characteristics will become apparent, wherein:
Fig. 1 is the schematic block diagram that illustrates according to the RAID management equipment of exemplary embodiment of the present invention;
Fig. 2 is the indicative flowchart that illustrates according to the operation method of the RAID management equipment of exemplary embodiment of the present invention;
Fig. 3 illustrates another exemplary embodiment according to the present invention process flow diagram that write data is handled under tape error RAID operational mode;
Fig. 4 is the logic diagram that illustrates according to the tape error RAID mode manager of exemplary embodiment of the present invention;
Fig. 5 is the process flow diagram of RAID dish reconstructing method that the RAID management equipment 100 of Fig. 1 is shown;
Fig. 6 is the process flow diagram that illustrates according to 0 grade of other dish reconstructing method of exemplary embodiment RAID of the present invention;
Fig. 7 is the process flow diagram that illustrates according to 1 grade of other dish reconstructing method of exemplary embodiment RAID of the present invention;
Fig. 8 is the process flow diagram that illustrates according to 3,4,5 grades of other dish reconstructing methods of exemplary embodiment RAID of the present invention; With
Fig. 9 is the process flow diagram that illustrates according to 6 grades of other dish reconstructing methods of exemplary embodiment RAID of the present invention.
Embodiment
Below, describe embodiments of the invention in detail with reference to accompanying drawing.
In the present invention, 3 kinds of RAID operational modes have been defined: standard RAID operational mode, fault-tolerant RAID operational mode and tape error RAID operational mode.Under standard RAID operational mode, the RAID system is according to the RAID operational mode operation that meets the RAID standard, if in record data are handled, generation data write error mistake, then point out low-quality disk and stop operation this low-quality disk, do not allow the data write error mistake, do not allow the appearance of bad piece of disk simultaneously.Under fault-tolerant RAID operational mode, the RAID management equipment if there is bad piece of disk, then made good use of piece and is replaced bad piece and guarantee that data are correctly write by making when record data are handled.Different with fault-tolerant RAID operational mode, under tape error RAID operational mode, the RAID management equipment is when handling by record data, allow the partial data write error and lost the disk write data that continues to use bad piece, and when can not the reconstructing part divided data, still utilize data in the low-quality disk to carry out data and recover.
What the present invention at first proposed is a kind of RAID management equipment of supporting above 3 kinds of operational modes.
Fig. 1 is the schematic block diagram that illustrates according to the RAID management equipment 100 of exemplary embodiment of the present invention.With reference to Fig. 1, RAID management equipment 100 comprises Management Controller 110, tape error RAID mode manager 120, fault-tolerant RAID mode manager 130 and standard RAID mode manager 140.
Management Controller 110 is according to the RAID operational mode that sets in advance, and in control tape error RAID mode manager 120, fault-tolerant RAID mode manager 130 and the standard RAID mode manager 140 one operates the RAID disk array.Described RAID operational mode can be carried out static setting in the configuration file of RAID, perhaps the user interface by the setting of RAID management equipment dynamically is provided with.
Standard RAID mode manager 140 is under the control of control manager 110, in above-mentioned standard RAID operational mode (as RAID 0 rank, RAID 1 rank, RAID 5 ranks, RAID 6 ranks etc.) operation down, wherein, in record data are handled,, then point out low-quality disk and stop operation this low-quality disk if the data write error mistake takes place, do not allow to take place write error, also do not allow the appearance of bad piece of disk, otherwise just dish is fallen in prompting, and stop data and write.
Fault-tolerant RAID mode manager 130 comprises remap unit 132, and described remap unit 132 uses the good piece in the reserved area of reserving to replace fault-tolerant RAID mode manager 130 detected bad pieces of disk.Losing of data if because of existing bad piece of disk to cause the write data failure, then use in the good piece of remap unit 132 in the reserved area of reserving and write corresponding data, to guarantee to write data, do not take place in fault-tolerant RAID mode manager 13 when write data.If data write still unsuccessful, for example, finish using in the reserved area of reservation, makes good use of piece and come bad piece of Replace Disk and Press Anykey To Reboot write data thereby can't make, and then prompting is fallen to coil, and stop data and write.
Tape error RAID mode manager 120 comprises tape error data processing unit 122.When because of the bad piece generation of disk write data mistake, tape error data processing unit 122 continues write operation, allows losing of data.In addition, according to another exemplary embodiment of the present invention, when the user selected to coil reconstruct, tape error data processing unit 122 coiled reconstruction processing.In restructuring procedure, if cause this band reconfiguring false owing to some data in other disk of not kicked out of in the former RAID array make a mistake, on the disk that the locational data of respective strap of then duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
According to another preferred embodiment of the invention, tape error RAID mode manager 120 can also comprise low-quality disk alarm unit 121.The bad piece of 121 pairs of disks of low-quality disk alarm unit is followed the tracks of, and when the bad block count of particular disk reaches predetermined maximum bad piece and counts, reports to the police by predetermined alarm mode, and prompting user or keeper are reconstructed low-quality disk.The form that described predetermined alarm mode can adopt the window on the subscriber administration interface or write down in journal file.On the other hand, according to another preferred embodiment of the invention, low-quality disk alarm unit 121 can also be in the warning that bad block count equals to be scheduled to when bad piece is counted, to point out user or keeper's particular disk to have the bad piece of some numbers with the similar mode of above-mentioned alarm mode, the bad piece number of described warning is less than the bad piece number of maximum, thereby sets up dual early warning mechanism.
According to another preferred embodiment of the invention, tape error RAID mode manager 120 can be provided for the built-in or external protected location of writing system data, to guarantee correctly writing of significant data.With reference to Fig. 4 tape error RAID mode manager 120 is made a more detailed description after a while.
Fig. 2 illustrates the indicative flowchart of handling according to the operation of the RAID management equipment 100 of exemplary embodiment of the present invention.
With reference to Fig. 2, at operation S210, Management Controller 110 determines that default RAID operational mode is a tape error RAID operational mode.If not tape error RAID operational mode, then at operation S260, Management Controller 110 determines that default RAID operational mode is fault-tolerant RAID operational mode.If also be not fault-tolerant RAID operational mode, Management Controller 110 control criterion RAID operational mode managers 140 move (operation S270) under the standard RAID mode.
If at operation S260, determine that default RAID operational mode is fault-tolerant RAID operational mode, then the fault-tolerant RAID mode manager 130 of Management Controller 110 controls moves (operation S280) under fault-tolerant RAID operational mode.
If at operation S210, Management Controller 110 determines that default RAID operational mode is a tape error RAID operational mode, and then Management Controller 110 control tape error RAID mode managers 120 move the work of tenaculum low-quality disk under tape error RAID operational mode.In the processing of write data, if make a mistake, then at operation S220, the 121 bad block counts of record of low-quality disk alarm unit.At operation S230, determine whether bad block count surpasses maximum bad piece number, and just, whether bad block count surpasses the highest bad piece number of predetermined permission then.If at operation S230, determine that bad block count has reached maximum bad piece number, then low-quality disk alarm unit 121 is reported to the police (operation S240) by predetermined alarm mode, and prompting user or keeper are reconstructed low-quality disk.At operation S250, tape error RAID mode manager 120 carries out tape error reconstruct.The processing of described tape error reconstruct is described in detail with reference to Fig. 5 to Fig. 9.
Fig. 3 illustrates another exemplary embodiment according to the present invention process flow diagram that write data is handled under tape error RAID operational mode.
With reference to Fig. 3, bad piece alarm unit 121 is initialized as zero with its bad block count.At operation S310, tape error RAID mode manager 120 carries out data writing operation.At operation S320, determine whether to take place the write data mistake.If the write data mistake does not take place,, carry out the write operation of next data then at operation S370.
If at operation S320, determine to have taken place the write data mistake, then bad piece alarm unit 121 adds 1 with bad block count.At operation S340, bad piece alarm unit 121 determines whether bad block count equals to warn bad piece number.If both are identical, then at operation S342, bad piece alarm unit 121 is warned user or keeper by predetermined mode, has accumulated a considerable amount of bad pieces on the particular disk.Otherwise if both differences, then at operation S350, bad piece alarm unit 121 determines further whether bad block count has reached maximum bad block count.If determine that bad block count has reached maximum bad piece number, then bad piece alarm unit 121 is reported to the police by predetermined alarm mode, and prompting user or keeper are reconstructed low-quality disk.Then, at S345, under keeper's control, tape error RAID mode manager 120 carries out low-quality disk reconstruct.
On the contrary, if at operation S350, determine that bad block count does not reach maximum bad piece number, then at operation S360, tape error RAID mode manager 120 is skipped this data, and at operation S370, carries out writing of next data.
This shows that Fig. 2 is different on low-quality disk alarm mode with the embodiment shown in Fig. 3.
Fig. 4 is the logic diagram that illustrates according to the tape error RAID mode manager 120 of exemplary embodiment of the present invention.
With reference to Fig. 4, the tape error RAID mode manager 120 among Fig. 1 comprises low-quality disk alarm unit 121 and tape error data processing unit 122.According to exemplary embodiment of the present invention, tape error RAID mode manager 120 can not comprise low-quality disk alarm unit 121.
Low-quality disk alarm unit 121 comprises bad piece register 1211, bad block analysis device 1215 and low-quality disk alarm 1215.
The bad piece of each dish of 1211 couples of RAID of bad piece register is followed the tracks of, is write down and counts.
The bad block count of 1215 pairs of each dishes of bad block analysis device is analyzed, and need to determine whether to report to the police, and prompting user or keeper are coiled reconstruct.According to exemplary embodiment of the present invention, bad block analysis device 1215 determines whether bad block count surpasses maximum bad piece number when analyzing.If determine that bad block count has reached maximum bad piece number, then bad block analysis device 1215 is controlled low-quality disk alarm unit 121 and is reported to the police by predetermined alarm mode.
According to another exemplary embodiment of the present invention, bad block analysis device 1215 determines whether bad block count equals to warn bad piece number when analyzing.If both are identical, then bad block analysis device 1215 is controlled low-quality disk alarm 1215 and is warned user or keeper by predetermined mode, has accumulated a considerable amount of bad pieces on the particular disk.Otherwise bad block analysis device 1215 determines further whether bad block count has reached maximum bad block count.If determine that bad block count has reached maximum bad piece number, the bad piece alarm unit 121 of then bad block analysis device 1215 controls is reported to the police by predetermined alarm mode, and prompting user or keeper are reconstructed low-quality disk.
Tape error data processing unit 122 comprises read-write processing module 1225 and reconstructed module 1221.
Read-write processing module 1225 is carried out read-write operation according to meeting other mode of RAID level to the RAID dish.Because of the bad piece generation of disk write data mistake the time, read-write processing module 1225 is skipped bad piece, and points out 1211 pairs of bad pieces of bad piece register to follow the tracks of and record.
When reconstructed module 1221 was selected to coil reconstruct the user, tape error data processing unit 122 coiled reconstruction processing.In restructuring procedure, if cause this band reconfiguring false owing to some data in other disk of not kicked out of in the former RAID array make a mistake, on the disk that the locational data of respective strap of then duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
According to exemplary embodiment of the present invention, RAID management equipment 100 can be provided with internal or external protected location, thereby makes read-write processing module 1225 with system data write protection district.
Fig. 5 is the process flow diagram of RAID dish reconstructing method that the RAID management equipment 100 of Fig. 1 is shown.The reconstruct of described RAID dish can start and realization by independent administration interface.
With reference to Fig. 5, the reconstruct of RAID dish is inserted new building and is started reconstruct (operation S510) from the keeper.
At operation S520, the data reconstruction of a band of RAID management equipment 100 beginnings.At S530, determine whether restructural restore data of described band.Cause this band reconfiguring false owing to some data in other disk of not kicked out of in the former RAID array make a mistake, then determining can not this strip data of reconstruct.For example, in the RAID5 rank, still can not recover the situation of strip data for the parity checking that utilizes band, determining can not the reconstruct restore data.And for example, in the RAID6 rank, be reconstructed under the situation of all failing according to 2 parity check bit, just determining can not the reconstruct restore data.
If determine the restructural strip data, then at operation S560, RAID management equipment 100 is carried out restore data and duplicate strip data on new building, proceeds to operation S550 then.
If at operation S530, determining can not the reconstruct strip data, and then at operation S540, RAID management equipment 100 copies to new building with corresponding strip data on the low-quality disk.Particularly, in restructuring procedure, on the disk that the locational data of respective strap of duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.Here, about other system of different RAID level, can carry out different processing.Such as, in 0 grade of other system of RAID, because not backup or verification recovery design, so when running into reconfiguring false, can only skip this bad piece; And for example, in RAID 5 ranks, can duplicate by the data of reconstruct dish.
Then, at operation S550, judged whether to finish the reconstruct of dish.If finished the reconstruct of dish, then at operation S570, the keeper can finish reconstruction processing, and removes low-quality disk.If do not finish the reconstruct of dish as yet, then return S520 carries out the reconstruct of next band.
Fig. 6 to Fig. 9 is the process flow diagram that illustrates according to other dish reconstructing method of several typical R AID levels of exemplary embodiment of the present invention.Because 0 grade of RAID is clipped to the method that RAID 6 ranks use on data processing characteristics are arranged respectively all, therefore this only with regard to the band reconstructed operation (S520) among each RAID rank and Fig. 5, determine whether can the reconstruct restore data operation (S530) and not the relevant operation of processing (S540) during restructural specifically describe.
Because RAID 0 rank does not provide the redundant data storage function, so with reference to Fig. 6,0 grade of other dish reconstruct only is to be copied to new building (S620) by the data of reconstruct dish according to RAID of the present invention.When running into reconfiguring false, only skip misdata (S630), and do not do special processing.
RAID 1 rank provides the copy of total data.In dish reconstruction processing according to the present invention,, at first will coil (copy) data well and copy to (S720) on the new building with reference to Fig. 7.At operation S730, when determining in duplicating, to run into mistake, then duplicate by the corresponding data of reconstruct dish (S740).
3~5 grades of other systems of RAID are comparatively similar on the dish reconstruction processing.According to dish reconstructing method of the present invention,,, use verification to carry out the data reconstruction of a band at first at operation S810 with reference to Fig. 8.Then, at operation S830, if determine band reconstruct failure, then at operation S840, on the disk that the locational data of respective strap of duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
RAID 6 ranks are used the duplication check position when write data, thereby improve the redundant performance of data.Therefore, according to dish reconstructing method of the present invention, with reference to Fig. 9, at operation S920, RAID management equipment 100 is at first according to band of check bit 1 reconstruct.At operation S930, determine whether this reconstruct is successful.If the reconstruct success then proceeds to operation S970, determine whether to continue the more reconstruct of multi-ribbon.
If this reconstruct failure, then at operation S940, RAID management equipment 100 is according to this band of check bit 2 reconstruct.Then, in operation 950, determine whether the reconstruct of operation S940 is successful.If determine the reconstruct success of operation S940, then proceed to operation S970, determine whether to continue the more reconstruct of multi-ribbon.
If the reconstruct failure of operation S940, then RAID management equipment 100 will be copied to the respective strap of new building by the data of reconstruct dish.
Thereby, can carry out differentiated control to RAID according to RAID management equipment of the present invention and method, and allow to lead astray the dish operation.Because of the bad piece generation of disk write error the time, allow this loss of data that will write, thereby guarantee in the bad piece scope of some occurring, do not fall dish.This technical scheme is for the store non-critical data, and the hypervelocity record as in the traffic is highly profitable.
Simultaneously, under can not the recovered part data conditions, allow partial data to lose, still can coil reconstruct because of bad piece of disk according to RAID management equipment of the present invention and method.
In RAID management equipment according to the present invention and method, can also be in conjunction with fault-tolerant RAID operational mode and tape error RAID operational mode, just, when write error takes place, thereby can adopt the mode that remaps to replace bad piece of disk write data earlier with the good piece in the reserved area; Only after finishing using in the reserved area, just enter tape error RAID operational mode.
In addition, in RAID management equipment according to the present invention and method, can also be used alternatingly three kinds of mode operations according to user's setting.To the key data that do not allow to lose, write data under standard RAID operational mode; To general significant data, under fault-tolerant RAID operational mode, write; And, under tape error RAID operational mode, carry out write operation to allowing the data of partial loss.
Simultaneously, as can be seen, when coiling reconstruct, also be applicable to according to any or its reconstruct in standard RAID operational mode, fault-tolerant RAID operational mode and the tape error RAID operational mode in conjunction with the RAID dish that carries out write data according to RAID management equipment of the present invention and method.
Though for exemplary purpose has been described exemplary embodiment of the present invention, but those skilled in the art will appreciate that, in not breaking away from, under the situation of disclosed scope and spirit of the present invention, can make various modifications, interpolation and alternative as claim.Effect of the present invention is not limited to above-mentioned effect, and other effects of not mentioning above can being expressly understood of the qualification that requires of those skilled in the art's accessory rights.

Claims (20)

1. RAID management equipment is characterized in that comprising:
Standard RAID mode manager to be used for according to the RAID operational mode operation that meets the RAID standard, if the data write error mistake takes place in record data are handled, is then pointed out low-quality disk and is stopped operation to this low-quality disk;
Fault-tolerant RAID mode manager is to be used for guaranteeing that by using the good piece of reserving to replace bad piece data are correctly write when when there is the bad piece of disk in the record data processing;
Tape error RAID mode manager writes to be used for continuing to use the disk that bad piece is arranged to carry out data in the record data processing by the loss of data that allows some; With
The differentiated control controller, to be used for according to the standard RAID operational mode, fault-tolerant RAID operational mode and the tape error RAID operational mode that set in advance, operate for corresponding one in control criterion RAID mode manager, fault-tolerant RAID mode manager, the tape error RAID mode manager.
2. RAID management equipment as claimed in claim 1: described tape error RAID mode manager comprises the low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and, when the bad block count of particular disk reaches predetermined maximum bad piece and counts, carry out low-quality disk by predetermined alarm mode and report to the police.
3. RAID management equipment as claimed in claim 1: described tape error RAID mode manager comprises reconstructed module; When described reconstructed module is selected to coil reconstruct the user, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false owing to some data in other disk of not kicked out of in the former RAID array make a mistake, on the disk that the locational data of respective strap of then duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
4. RAID management equipment as claimed in claim 1: described tape error RAID mode manager is provided with internal or external protected location and is used for the writing system data.
5. RAID management equipment as claimed in claim 2: when the bad piece of warning that described low-quality disk alarm unit equals to be scheduled to when the bad block count of particular disk is counted, send particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than the bad piece number of maximum.
6. RAID management equipment is characterized in that comprising:
Tape error RAID operational mode manager writes to be used for continuing to use the disk that bad piece is arranged to carry out data by the loss of data that allows some when record data are handled.
7. RAID management equipment as claimed in claim 6: described tape error RAID mode manager comprises the low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and, when the bad block count of particular disk reaches predetermined maximum bad piece and counts, carry out low-quality disk by predetermined alarm mode and report to the police.
8. RAID management equipment as claimed in claim 6: described tape error RAID mode manager comprises reconstructed module; When described reconstructed module is selected to coil reconstruct the user, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false owing to some data in other disk of not kicked out of in the former RAID array make a mistake, on the disk that the locational data of respective strap of then duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
9. RAID management equipment as claimed in claim 6: described tape error RAID mode manager is provided with internal or external protected location and is used for the writing system data.
10. RAID management equipment as claimed in claim 7: when the bad piece of warning that described low-quality disk alarm unit equals to be scheduled to when the bad block count of particular disk is counted, send particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than the bad piece number of maximum.
11. a RAID management equipment is characterized in that comprising:
Tape error RAID operational mode manager, when the user selects to coil reconstruct, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false, on the disk that the locational data of respective strap of then duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct owing to some data in other disk of not kicked out of in the former RAID array make a mistake.
12. RAID management equipment as claimed in claim 11: described tape error RAID operational mode manager continues to use the disk that bad piece is arranged to carry out data by the loss of data that allows some and writes in record data are handled.
13. RAID management equipment as claimed in claim 12: described tape error RAID mode manager comprises the low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and when the bad block count of particular disk reaches predetermined maximum bad piece and counts, carries out low-quality disk by predetermined alarm mode and report to the police.
14. RAID management equipment as claimed in claim 12: described tape error RAID mode manager is provided with internal or external protected location and is used for the writing system data.
15. RAID management equipment as claimed in claim 13: when the bad piece of warning that described low-quality disk alarm unit also equals to be scheduled in the bad block count of particular disk is counted, send particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than the bad piece number of maximum.
16. a RAID management method is characterized in that comprising step:
According to the RAID operational mode that sets in advance, carry out one of following processing:
Under standard RAID operational mode,,, then point out low-quality disk and stop operation this low-quality disk if the data write error mistake takes place in record data are handled according to the RAID operational mode operation that meets the RAID standard;
Under fault-tolerant RAID operational mode, when in record data are handled, having the bad piece of disk, make good use of piece and replace bad piece and guarantee that data are correctly write by making;
Under tape error RAID operational mode, continue to use the disk that bad piece is arranged to carry out data by the loss of data that in record data are handled, allows some and write.
17. RAID management method as claimed in claim 16: under tape error RAID operational mode, also the bad piece of disk is followed the tracks of, and when the bad block count of particular disk reaches predetermined maximum bad piece and counts, carried out low-quality disk by predetermined alarm mode and report to the police.
18. RAID management method as claimed in claim 16: under tape error RAID operational mode, when the user selects to coil reconstruct, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false owing to some data in other disk of not kicked out of in the former RAID array make a mistake, on the disk that the locational data of respective strap of then duplicating the low-quality disk of having been kicked out of in the former RAID array are reconstructed in the new adding RAID array, and continue reconstruction processing and do not stop reconstruct.
19. RAID management method as claimed in claim 16: under tape error RAID operational mode, internal or external protected location also is set is used for the writing system data.
20. RAID management equipment as claimed in claim 17: when the bad piece of disk is followed the tracks of, when the bad piece of warning that equals to be scheduled in the bad block count of particular disk is counted, also send particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than the bad piece number of maximum.
CN201010134304.9A 2010-03-29 2010-03-29 Redundant array of inexpensive disk (RAID) management device and method Active CN102207893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010134304.9A CN102207893B (en) 2010-03-29 2010-03-29 Redundant array of inexpensive disk (RAID) management device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010134304.9A CN102207893B (en) 2010-03-29 2010-03-29 Redundant array of inexpensive disk (RAID) management device and method

Publications (2)

Publication Number Publication Date
CN102207893A true CN102207893A (en) 2011-10-05
CN102207893B CN102207893B (en) 2014-07-16

Family

ID=44696741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010134304.9A Active CN102207893B (en) 2010-03-29 2010-03-29 Redundant array of inexpensive disk (RAID) management device and method

Country Status (1)

Country Link
CN (1) CN102207893B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411516A (en) * 2011-12-13 2012-04-11 云海创想信息技术(天津)有限公司 RAID5 (Redundant Array of Independent Disk 5) data reconstruction method and device
CN102508620A (en) * 2011-12-01 2012-06-20 浪潮电子信息产业股份有限公司 Method for processing RAID5 (Redundant Array of Independent Disks) bad sector
CN103019623A (en) * 2012-12-10 2013-04-03 华为技术有限公司 Memory disc processing method and device
CN104375953A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Equipment control method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101006431A (en) * 2004-08-04 2007-07-25 达西系统股份有限公司 Performing a preemptive reconstruct of a fault-tolerant raid array
CN101276302A (en) * 2007-03-29 2008-10-01 中国科学院计算技术研究所 Magnetic disc fault processing and data restructuring method in magnetic disc array system
CN101567211A (en) * 2009-05-27 2009-10-28 杭州华三通信技术有限公司 Method for improving usability of disk and disk array controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101006431A (en) * 2004-08-04 2007-07-25 达西系统股份有限公司 Performing a preemptive reconstruct of a fault-tolerant raid array
CN101276302A (en) * 2007-03-29 2008-10-01 中国科学院计算技术研究所 Magnetic disc fault processing and data restructuring method in magnetic disc array system
CN101567211A (en) * 2009-05-27 2009-10-28 杭州华三通信技术有限公司 Method for improving usability of disk and disk array controller

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508620A (en) * 2011-12-01 2012-06-20 浪潮电子信息产业股份有限公司 Method for processing RAID5 (Redundant Array of Independent Disks) bad sector
CN102508620B (en) * 2011-12-01 2014-08-13 浪潮电子信息产业股份有限公司 Method for processing RAID5 (Redundant Array of Independent Disks) bad sector
CN102411516A (en) * 2011-12-13 2012-04-11 云海创想信息技术(天津)有限公司 RAID5 (Redundant Array of Independent Disk 5) data reconstruction method and device
CN103019623A (en) * 2012-12-10 2013-04-03 华为技术有限公司 Memory disc processing method and device
CN103019623B (en) * 2012-12-10 2016-01-20 华为技术有限公司 Memory disc disposal route and device
CN104375953A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Equipment control method and electronic equipment
CN104375953B (en) * 2013-08-15 2018-07-06 联想(北京)有限公司 Apparatus control method and electronic equipment

Also Published As

Publication number Publication date
CN102207893B (en) 2014-07-16

Similar Documents

Publication Publication Date Title
CN101276302B (en) Magnetic disc fault processing and data restructuring method in magnetic disc array system
US6408370B2 (en) Storage system assuring data integrity and a synchronous remote data duplexing
US7640452B2 (en) Method for reconstructing data in case of two disk drives of RAID failure and system therefor
CN100392611C (en) Storage control apparatus and method
US7739544B2 (en) Disk array system and rebuild method thereof
CN104503706B (en) A kind of data storage and read method based on disk array
CN101436149B (en) Method for rebuilding data of magnetic disk array
US8745443B2 (en) Memory system
US7836268B2 (en) Method, apparatus, and system for controlling data storage
JP2013041443A (en) Storage system, storage control device, and storage control method
CN103246478B (en) A kind of based on the disc array system of software PLC support without packet type overall situation HotSpare disk
JP2004038290A (en) Information processing system and disk control method for use in same system
CN102024044A (en) Distributed file system
CN103761058A (en) RAID1 and RAID4 hybrid structure network storage system and method
CN102945207A (en) Cache management method and system for block-level data
KR20060043873A (en) System and method for drive recovery following a drive failure
CN103019623B (en) Memory disc disposal route and device
CN101815983A (en) Method and system for preventing corruption of hard disk drive file system
CN102207893B (en) Redundant array of inexpensive disk (RAID) management device and method
CN102968361A (en) RAID (Redundant Array of Independent Disk) data self-repairing method
CN106980468A (en) Trigger the method and device that RAID array is rebuild
US20060215456A1 (en) Disk array data protective system and method
CN102609223B (en) Redundant array of independent disk system and initializing method thereof
CN107729199A (en) The hard disk detection method and system of a kind of storage device
CN101169705B (en) Method for implementing file class mirror-image under multiple hard disk based on nude file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BANGNUO MEMORY SCIENCE AND TECHNOLOGY CO., LTD., BEIJING

Effective date: 20141210

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100085 HAIDIAN, BEIJING TO: 310053 HANGZHOU, ZHEJIANG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141210

Address after: No. 555 Kang Hangzhou Science Park of Zhejiang province Binjiang District Qianmo road 310053

Patentee after: Hangzhou Hikvision Digital Technology Co., Ltd.

Address before: 100085 A building C101, Zhongguancun development building, No. 12, information road, Beijing, Haidian District

Patentee before: Bangnuo Memory Science and Technology Co., Ltd., Beijing