CN102207893B - 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
CN102207893B
CN102207893B CN201010134304.9A CN201010134304A CN102207893B CN 102207893 B CN102207893 B CN 102207893B CN 201010134304 A CN201010134304 A CN 201010134304A CN 102207893 B CN102207893 B CN 102207893B
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.)
Active
Application number
CN201010134304.9A
Other languages
Chinese (zh)
Other versions
CN102207893A (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

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 management equipment and the method for a kind of Redundant Array of Inexpensive Disc (RAID), relate in particular to and a kind ofly allow with low-quality disk work and can reconstruct there is RAID management equipment and the method for the RAID dish of 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 for preserving significant data.The rank of RAID from the proposition of RAID concept till now, has developed multiple basic.In general, RAID comprises one group of disk array, and in disk, part is used to write data and is used to deposit the parity data relevant to those data with part, and wherein data and parity data are assigned to multiple disks.If disk block fault or the whole disk of which storage data or parity data all break down, allow RAID storage system to recover raw data from remaining storage data and parity data.In the one group of disk block that is known as RAID band, data and parity data are relative to each other.
That use is more at present is RAID 5, be also the safety that ensures data with the check bit of data, but it is not the check bit of carrying out 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 rebuild according to the check bit on other hard disks the data of damage.
Most user pays much attention to data security and redundancy.They generally can adopt the RAID array with data recovery redundancy feature, as RAID5 and regularly carry out data backup, but prior art has been neglected the daily servicing of RAID array, in the time occurring that RAID falls the problem of dish, usual way carries out hard disk replacement exactly, the defect of this method is that data cannot be recovered, and can cause the loss that is difficult to retrieve in the time having in an array more than two that hard disk goes offline.
The main cause that disk array falls dish occurs is: when data on system access hard disk, should obtain corresponding data in stand-by period and the multiplicity of regulation, otherwise system cannot normally be worked, so all can arranging corresponding stand-by period and multiplicity, system meets the demands.Due to exist hard disk processing data access fault time read-write postpone problem, in corresponding waiting time and multiplicity, do not obtain the response of hard disk, system possibility labelling hard disk mistake so, and this piece hard disk is set and falls dish, may this be some regions of hard disk this time in fact, has bad piece, affected reading and writing data.
Disk array occurs at present and fall to cross-examine topic, keeper generally can only change hard disk, carries out weight.If when in array there is bad piece or reconstruct in other disks, there is disk to fall dish, can cause reconstruct failure, data cannot be recovered, and lose great.
Summary of the invention
The object of the present invention is to provide a kind of management equipment of RAID being divided to fault-tolerant rank control, thereby the operational mode that user can arrange according to user is used RAID array.
Thereby another object of the present invention is to provide a kind of and ensure RAID management equipment and the method with low-quality disk operation by the loss of data that allows some.
Another object of the present invention is to provide a kind of RAID management equipment and method that still can continue reconstruct take inventory at bad piece generation dish reconfiguring false because of RAID in the situation that.
According to an aspect of the present invention, a kind of RAID management equipment is provided, comprises: standard RAID mode manager, for the RAID operational mode operation according to meeting RAID standard, if there is data write error mistake in record data are processed, point out low-quality disk and stop the operation to this low-quality disk; Fault-tolerant RAID mode manager, for when there is the bad piece of disk in record data are processed time, ensures that by replacing bad piece with reserved in advance good piece data are correctly written; Tape error RAID mode manager, writes for there is the disk of bad piece to carry out data in record data are processed by allowing the loss of data of some to continue use; With differentiated control controller, for one in basis the standard RAID operational mode, fault-tolerant RAID operational mode and the tape error RAID operational mode that set in advance, in control criterion RAID mode manager, fault-tolerant RAID mode manager, tape error RAID mode manager, corresponding one operates.
Described tape error RAID mode manager can comprise low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and, in the time that the bad block count of particular disk reaches the predetermined bad piece of maximum and counts, carry out low-quality disk warning by predetermined alarm mode.
Described tape error RAID mode manager can comprise reconstructed module; Described reconstructed module is selected while coiling reconstruct, to coil reconstruction processing user, in the time there is strip data reconfiguring false, copies the data of low-quality disk respective strap position to new building, and continues reconstruction processing and do not stop reconstruct.
According to a further aspect in the invention, provide a kind of RAID management equipment, comprising: tape error RAID operational mode manager, writes for there is the disk of bad piece to carry out data in the time that record data are processed by allowing the loss of data of some to continue use.
According to a further aspect in the invention, provide a kind of RAID management equipment, comprising: tape error RAID operational mode manager, in the time that user selects to coil reconstruct, coils reconstruction processing.If in restructuring procedure because some data in other disk of not picked out in former RAID make a mistake while causing this strip data reconfiguring false, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.
Brief description of the drawings
By the description of carrying out below in conjunction with the accompanying drawing that an example is exemplarily shown, above and other object of the present invention and feature will become apparent, wherein:
Fig. 1 is the schematic block diagram illustrating according to the RAID management equipment of exemplary embodiment of the present invention;
Fig. 2 is the indicative flowchart illustrating according to the operation method of the RAID management equipment of exemplary embodiment of the present invention;
Fig. 3 illustrates that another exemplary embodiment according to the present invention writes the process flow diagram of data processing under tape error RAID operational mode;
Fig. 4 is the logic diagram illustrating according to the tape error RAID mode manager of exemplary embodiment of the present invention;
Fig. 5 is the process flow diagram that the RAID dish reconstructing method of the RAID management equipment 100 of Fig. 1 is shown;
Fig. 6 is the process flow diagram illustrating according to the dish reconstructing method of exemplary embodiment RAID 0 rank of the present invention;
Fig. 7 is the process flow diagram illustrating according to the dish reconstructing method of exemplary embodiment RAID 1 rank of the present invention;
Fig. 8 is the process flow diagram illustrating according to the dish reconstructing method of exemplary embodiment RAID 3,4,5 ranks of the present invention; With
Fig. 9 is the process flow diagram illustrating according to the dish reconstructing method of exemplary embodiment RAID 6 ranks 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, RAID system is according to the RAID operational mode operation that meets RAID standard, if in record data are processed, generation data write error mistake, point out low-quality disk and stop the operation to this low-quality disk, do not allow data write error mistake, do not allow the appearance of bad piece of disk simultaneously.Under fault-tolerant RAID operational mode, RAID management equipment, in the time that record data are processed, if there is bad piece of disk, is replaced bad piece and is ensured that data are correctly written by making to make good use of piece.Different from fault-tolerant RAID operational mode, under tape error RAID operational mode, RAID management equipment is in the time processing by record data, allow partial data write error and be lost to continue use have the disk of bad piece to write data, and when can not reconstructing part divided data, still utilize the data in low-quality disk to carry out data recovery.
What first the present invention proposed is a kind of RAID management equipment of supporting above 3 kinds of operational modes.
Fig. 1 is the schematic block diagram illustrating 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 setting in advance, and one that controls in tape error RAID mode manager 120, fault-tolerant RAID mode manager 130 and standard RAID mode manager 140 operates RAID disk array.Described RAID operational mode can be carried out static setting in the configuration file of RAID, or the user interface arranging by RAID management equipment dynamically arranges.
Standard RAID mode manager 140 is under the control of control and management device 110, in the lower operation of above-mentioned standard RAID operational mode (as RAID 0 rank, RAID 1 rank, RAID 5 ranks, RAID 6 ranks etc.), wherein, in record data are processed, if there is data write error mistake, point out low-quality disk and stop the operation to this low-quality disk, do not allow to occur 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 is used the good piece in reserved reserved area to replace the bad piece of disk that fault-tolerant RAID mode manager 130 detects.Fault-tolerant RAID mode manager 13, in the time writing data, if because existing bad piece of disk to cause writing data failure, uses in the good piece of remap unit 132 in reserved reserved area and writes corresponding data, to guarantee data writing, the loss of data does not occur.If data write still unsuccessful, for example, finish using in reserved reserved area, carrys out bad piece of Replace Disk and Press Anykey To Reboot and write data thereby cannot make to make good use of piece, and prompting is fallen to coil, and stop data and write.
Tape error RAID mode manager 120 comprises tape error data processing unit 122.In the time writing error in data because of bad piece of disk, tape error data processing unit 122 continues write operation, allows the loss of data.In addition,, according to another exemplary embodiment of the present invention, in the time that user selects to coil reconstruct, tape error data processing unit 122 coils reconstruction processing.In restructuring procedure, if cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in 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.Low-quality disk alarm unit 121 is followed the tracks of the bad piece of disk, and in the time that the bad block count of particular disk reaches the predetermined bad piece of maximum 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 subscriber administration interface or record in journal file.On the other hand, according to another preferred embodiment of the invention, when the bad piece of warning that low-quality disk alarm unit 121 can also equal to be scheduled in bad block count is counted, to point out user or keeper's particular disk to there is 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 maximum bad piece number, 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 according to the indicative flowchart of the operation processing 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 tape error RAID operational mode.If not tape error RAID operational mode, at operation S260, Management Controller 110 determines that default RAID operational mode is fault-tolerant RAID operational mode.If be not also fault-tolerant RAID operational mode, Management Controller 110 control criterion RAID operational mode managers 140 move (operation S270) under standard RAID mode.
If at operation S260, determine that default RAID operational mode is fault-tolerant RAID operational mode, Management Controller 110 is controlled fault-tolerant RAID mode manager 130 and under fault-tolerant RAID operational mode, is moved (operation S280).
If at operation S210, Management Controller 110 determines that default RAID operational mode is tape error RAID operational mode, and Management Controller 110 is controlled tape error RAID mode manager 120 and moved under tape error RAID operational mode, the work of tenaculum low-quality disk.In the processing of writing data, if made a mistake,, at operation S220, low-quality disk alarm unit 121 records bad block count.Then at operation S230, determine whether bad block count exceedes maximum bad piece number, and namely, whether bad block count exceedes the highest bad piece number of predetermined permission.If at operation S230, determine that bad block count has reached maximum bad piece number, 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 that another exemplary embodiment according to the present invention writes the process flow diagram of data processing under tape error RAID operational mode.
With reference to Fig. 3, bad piece alarm unit 121 is initialized as zero by its bad block count.At operation S310, tape error RAID mode manager 120 carries out data writing operation.At operation S320, determine whether to write error in data.If do not write error in data, at operation S370, carry out the write operation of next data.
If at operation S320, determine error in data has occurred to write, bad piece alarm unit 121 adds 1 by 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,, at operation S342, bad piece alarm unit 121 is warned user or keeper by predetermined mode, has accumulated a considerable amount of bad pieces in particular disk.Otherwise if both are different, at operation S350, bad piece alarm unit 121 further determines whether bad block count has reached maximum bad block count.If determine that bad block count has reached maximum bad piece number, 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,, at operation S360, tape error RAID mode manager 120 is skipped this data, and at operation S370, carries out writing of next data.
As can be seen here, the embodiment shown in Fig. 2 and Fig. 3 is different in low-quality disk alarm mode.
Fig. 4 is the logic diagram illustrating 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 in 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.
Bad piece register 1211 is followed the tracks of, records and count the bad piece of the each dish of RAID.
Bad block analysis device 1215 is analyzed the bad block count of each dish, and determines whether to need 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, in the time analyzing, determines whether bad block count exceedes maximum bad piece number.If determine that bad block count has reached maximum bad piece number, 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, in the time analyzing, determines whether bad block count equals to warn bad piece number.If both are identical, 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 in particular disk.Otherwise bad block analysis device 1215 further determines whether bad block count has reached maximum bad block count.If determine that bad block count has reached maximum bad piece number, bad block analysis device 1215 is controlled bad piece alarm unit 121 and 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 the mode that meets RAID rank to RAID dish.In the time writing error in data because of bad piece of disk, read-write processing module 1225 is skipped bad piece, and points out bad piece register 1211 to follow the tracks of and record bad piece.
Reconstructed module 1221 is in the time that user selects to coil reconstruct, and tape error data processing unit 122 coils reconstruction processing.In restructuring procedure, if cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.
According to exemplary embodiment of the present invention, RAID management equipment 100 can arrange internal or external protected location, thereby makes to read and write processing module 1225 by system data write protection district.
Fig. 5 is the process flow diagram that the RAID dish reconstructing method of the RAID management equipment 100 of Fig. 1 is shown.Described RAID dish reconstruct can be started and be realized by independent administration interface.
With reference to Fig. 5, the reconstruct of RAID dish is inserted new building and is started (operation S510) reconstruct from keeper.
At operation S520, RAID management equipment 100 starts the data reconstruction of a band.At S530, determine whether restructural recovers data to described band.Cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, determining can not this strip data of reconstruct.For example, in RAID5 rank, for utilizing bar tape parity still can not recover the situation of strip data, determine and can not reconstruct recover data.And for example, in RAID6 rank, be reconstructed all failures according to 2 parity check bit in the situation that, just determine and can not reconstruct recover data.
If determine restructural strip data,, at operation S560, RAID management equipment 100 is recovered data and on new building, is copied strip data, then proceeds to operation S550.
If at operation S530, determining can not reconstruct strip data, and at operation S540, corresponding strip data on low-quality disk is copied to new building by RAID management equipment 100.Particularly, in restructuring procedure, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.Here about the system of different RAID ranks, can carry out different processing.Such as, in the system of RAID 0 rank, due to not backup or verification recovery design, so in the time running into reconfiguring false, can only skip this bad piece; And for example, in RAID 5 ranks, can copy the data that are reconstructed dish.
Then,, at operation S550, judged whether to complete the reconstruct of dish.If completed the reconstruct of dish,, at operation S570, keeper can finish reconstruction processing, and removes low-quality disk.If not yet complete the reconstruct of dish, return to operation S520, carry out the reconstruct of next band.
Fig. 6 to Fig. 9 is the process flow diagram illustrating according to the dish reconstructing method of the several typical RAID rank of exemplary embodiment of the present invention.All respectively have feature because 0 grade of RAID is clipped to the method that RAID 6 ranks use in data processing, therefore this only with regard to each RAID rank and band reconstructed operation (S520) in Fig. 5, determine whether can reconstruct to recover the operation (S530) of data and not the relevant operation of processing (S540) when restructural be specifically described.
Because RAID 0 rank does not provide redundant data storage function, so with reference to Fig. 6, be only to new building (S620) by the data Replica that is reconstructed dish according to the dish reconstruct of RAID 0 rank of the present invention.In the time 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, with reference to Fig. 7, first will get well dish (copy) data Replica (S720) to new building.At operation S730, determine run into mistake in copying time, copy the corresponding data (S740) that is reconstructed dish.
The system of RAID 3~5 ranks is comparatively similar in dish reconstruction processing.According to dish reconstructing method of the present invention, with reference to Fig. 8, first at operation S810, use verification to carry out the data reconstruction of a band.Then, at operation S830, if determine band reconstruct failure, at operation S840, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.
RAID 6 ranks, in the time writing data, are used duplication check position, thereby improve the redundancy 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 first according to band of check bit 1 reconstruct.At operation S930, determine that whether this reconstruct is successful.If reconstruct success, proceeds to operation S970, determine whether to continue the more reconstruct of multi-ribbon.
If this reconstruct failure,, at operation S940, RAID management equipment 100 is according to this band of check bit 2 reconstruct.Then,, in operation 950, determine that whether the reconstruct of operation S940 is successful.If determine the reconstruct success of operation S940, proceed to operation S970, determine whether to continue the more reconstruct of multi-ribbon.
If the reconstruct failure of operation S940, RAID management equipment 100 will be reconstructed the data Replica of dish to the respective strap of new building.
Thereby, can carry out differentiated control to RAID according to RAID management equipment of the present invention and method, and allow the operation of band low-quality disk.When because of the bad piece generation of disk write error, allow this loss of data that will write, thereby ensure within the scope of the bad piece that occurs some, do not fall dish.This technical scheme, for store non-critical data, as the hypervelocity record in traffic, is highly profitable.
Meanwhile, can not recovered part data because of bad piece of disk in the situation that, allow partial data to lose according to RAID management equipment of the present invention and method, still can coil reconstruct.
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, namely, in the time there is write error, thereby can first adopt the good piece of the mode of remapping in reserved area to replace bad piece of disk to write data; Only, after finishing using in 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 according to user's setting, be used alternatingly three kinds of mode operations.To the key data that do not allow to lose, under standard RAID operational mode, write data; To general significant data, under fault-tolerant RAID operational mode, write; And to allowing the data of partial loss, under tape error RAID operational mode, carry out write operation.
Simultaneously, can find out, in the time coiling reconstruct, be also applicable to according to any or its in standard RAID operational mode, fault-tolerant RAID operational mode and tape error RAID operational mode in conjunction with reconstruct of RAID dish of writing data according to RAID management equipment of the present invention and method.
Although for exemplary object has been described exemplary embodiment of the present invention, but those skilled in the art will appreciate that, in not departing from as claim, disclosed scope and spirit of the present invention in the situation that, can make various amendments, interpolation and substitute.Effect of the present invention is not limited to above-mentioned effect, and other effects of not mentioning above the restriction of claim can be expressly understood of those skilled in the art.

Claims (12)

1. a RAID management equipment, is characterized in that comprising:
Standard RAID mode manager, for the RAID operational mode operation according to meeting RAID standard, if there is data write error mistake in record data are processed, points out low-quality disk and stops the operation to this low-quality disk;
Fault-tolerant RAID mode manager, for when there is the bad piece of disk in record data are processed time, the good piece of reserving by use is replaced bad piece and is ensured that data are correctly written;
Tape error RAID mode manager, writes for there is the disk of bad piece to carry out data in record data are processed by allowing the loss of data of some to continue use; With
Differentiated control controller, for one in basis the standard RAID operational mode, fault-tolerant RAID operational mode and the tape error RAID operational mode that set in advance, in control criterion RAID mode manager, fault-tolerant RAID mode manager, tape error RAID mode manager, corresponding one operates;
Wherein, described tape error RAID mode manager comprises 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 piece of warning that equals to be scheduled to when the bad block count of particular disk is counted, sending particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than maximum bad piece number.
2. RAID management equipment as claimed in claim 1: described tape error RAID mode manager comprises reconstructed module; Described reconstructed module is in the time that user selects to coil reconstruct, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.
3. RAID management equipment as claimed in claim 1: described tape error RAID mode manager arranges internal or external protected location for writing system data.
4. a RAID management equipment, is characterized in that comprising:
Tape error RAID operational mode manager, writes for there is the disk of bad piece to carry out data in the time that record data are processed by allowing the loss of data of some to continue use;
Wherein, described tape error RAID mode manager comprises 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 piece of warning that equals to be scheduled to when the bad block count of particular disk is counted, sending particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than maximum bad piece number.
5. RAID management equipment as claimed in claim 4: described tape error RAID mode manager comprises reconstructed module; Described reconstructed module is in the time that user selects to coil reconstruct, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.
6. as right is wanted the RAID management equipment as described in 4: as described in tape error RAID mode manager internal or external protected location is set for writing system data.
7. a RAID management equipment, is characterized in that comprising:
Tape error RAID operational mode manager, in the time that user selects to coil reconstruct, coils reconstruction processing, wherein, in record data are processed, writes by allowing the loss of data continuation use of some to have the disk of bad piece to carry out data;
Wherein, in restructuring procedure, if cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct;
Described tape error RAID mode manager comprises low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and the bad piece of warning that equals to be scheduled in the bad block count of particular disk is while counting, sends particular disk and had the warning of bad piece of some, and the bad piece number of described predetermined warning is less than maximum bad piece number.
8. RAID management equipment as claimed in claim 7: described tape error RAID mode manager comprises low-quality disk alarm unit; Described low-quality disk alarm unit is followed the tracks of the bad piece of disk, and in the time that the bad block count of particular disk reaches the predetermined bad piece of maximum and counts, carries out low-quality disk warning by predetermined alarm mode.
9. RAID management equipment as claimed in claim 7: described tape error RAID mode manager arranges internal or external protected location for writing system data.
10. a RAID management method, is characterized in that comprising step:
According to the RAID operational mode setting in advance, carry out one of following processing:
Under standard RAID operational mode, according to the RAID operational mode operation that meets RAID standard, if there is data write error mistake in record data are processed, point out low-quality disk and stop the operation to this low-quality disk;
Under fault-tolerant RAID operational mode, when in record data are processed while there is the bad piece of disk, replace bad piece and ensure that data are correctly written by making to make good use of piece;
Under tape error RAID operational mode, write by allowing the loss of data continuation use of some to have the disk of bad piece to carry out data in record data are processed;
Wherein, under tape error RAID operational mode, also the bad piece of disk is followed the tracks of, in the time that the bad piece of disk is followed the tracks of, bad the determining while number of warning that equals to be scheduled in the bad block count of particular disk, also send particular disk and had the warning of bad piece of some, the bad piece number of described predetermined warning is less than maximum bad piece number.
11. RAID management methods as claimed in claim 10: under tape error RAID operational mode, in the time that user selects to coil reconstruct, coil reconstruction processing, wherein, in restructuring procedure, if cause this band reconfiguring false because some data in other disk of not kicked out of in former RAID array make a mistake, copy the locational data of respective strap of the low-quality disk of having been kicked out of in former RAID array to newly adding on the disk being reconstructed in RAID array, and continue reconstruction processing and do not stop reconstruct.
12. RAID management methods as claimed in claim 10: under tape error RAID operational mode, internal or external protected location is also set for writing system data.
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 CN102207893A (en) 2011-10-05
CN102207893B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103019623B (en) * 2012-12-10 2016-01-20 华为技术有限公司 Memory disc disposal route and device
CN104375953B (en) * 2013-08-15 2018-07-06 联想(北京)有限公司 Apparatus 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

Also Published As

Publication number Publication date
CN102207893A (en) 2011-10-05

Similar Documents

Publication Publication Date Title
CN101276302B (en) Magnetic disc fault processing and data restructuring method in magnetic disc array system
CN101436149B (en) Method for rebuilding data of magnetic disk array
CN104503706B (en) A kind of data storage and read method based on disk array
US7640452B2 (en) Method for reconstructing data in case of two disk drives of RAID failure and system therefor
US7216208B2 (en) Storage controller
US7836268B2 (en) Method, apparatus, and system for controlling data storage
CN100576181C (en) A kind of data re-establishing method of disk array
CN100573464C (en) Recover device, the system and method for multivolume data set
US20130007511A1 (en) Rapid rebuild of a data set
CN100368976C (en) Disk array apparatus and backup method of data
CN102521058A (en) Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group
CN103761058A (en) RAID1 and RAID4 hybrid structure network storage system and method
CN102508733B (en) A kind of data processing method based on disk array and disk array manager
CN102024044A (en) Distributed file system
CN100549955C (en) Be used to dispose the method and system of associated devices
CN103049222A (en) RAID5 (redundant array of independent disk 5) write IO optimization processing method
CN102945207A (en) Cache management method and system for block-level data
CN102207893B (en) Redundant array of inexpensive disk (RAID) management device and method
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
CN102999399B (en) The method and apparatus that a kind of JBOD array is automatically renewed
CN103246478A (en) Disk array system supporting grouping-free overall situation hot standby disks based on flexible redundant array of independent disks (RAID)
CN106980468A (en) Trigger the method and device that RAID array is rebuild
CN101615146A (en) Disc array online reconstruction system and method

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