CN101699389B - Method and device for processing hot removal of magnetic disk - Google Patents

Method and device for processing hot removal of magnetic disk Download PDF

Info

Publication number
CN101699389B
CN101699389B CN200910209620.5A CN200910209620A CN101699389B CN 101699389 B CN101699389 B CN 101699389B CN 200910209620 A CN200910209620 A CN 200910209620A CN 101699389 B CN101699389 B CN 101699389B
Authority
CN
China
Prior art keywords
disk
disk group
judge module
logical device
state
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
CN200910209620.5A
Other languages
Chinese (zh)
Other versions
CN101699389A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910209620.5A priority Critical patent/CN101699389B/en
Publication of CN101699389A publication Critical patent/CN101699389A/en
Application granted granted Critical
Publication of CN101699389B publication Critical patent/CN101699389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for processing hot removal of a magnetic disk. The method is used in a magnetic disk array of a multi-controller, and when a magnetic disk is removed from the array in a reading-writing state, the hot removal of the magnetic disk is processed. The method comprises the following step that: after a logic equipment drive layer receives a magnetic disk failure report, and under conditions that the magnetic disk failure report is confirmed to come from a main controller and the current logic equipment is in a reconfiguring state, judging whether the current logic equipment is at a level of redundant arrays of inexpensive magnetic disks RAID; if so, setting the magnetic disk group member corresponding to the currently removed magnetic disk in a failure state, and continuing the reconfiguring operation; and otherwise, setting all logic equipment of the magnetic disk group member to which the currently removed magnetic disk belongs in a failure state, stopping the reconfiguring operation, and sending the state information of the current logic equipment to an opposite terminal controller. According to the device, the restoring ability and the flexibility of the magnetic disk array system on an accident can be improved.

Description

The disposal route of hot removal of magnetic disk and device
Technical field
The present invention relates to field of computer technology, relate in particular to disposal route and the device of a kind of hot removal of magnetic disk in the disk array of multi-controller.
Background technology
Disk array (Disk Array) is controlled interconnecting of multiple hard disks by hard disk controller, makes the read-write of multiple hard disks synchronous, reduces mistake, increases the technology of efficiency and fiduciary level.Wherein, controlled the disk array of multiple disks by two controllers, be called double control disk array.Conventionally, disk array refers to Redundant Arrays of Inexpensive Disks (Redundant Arrayof Inexpensive Disks, referred to as RAID), wherein, RAID is the theoretical standard that disk array is realized technically, and its object is to reduce wrong, to improve storage system performance and fiduciary level.Particularly, RAID be a kind of by polylith independently hard disk (physical hard disk) combine and form a hard disk groups (logic hard disk) by different modes, thereby the memory property higher than single hard disk is provided and technology of data copy is provided.The different modes of composition disk array has determined RAID rank (RAID Levels).0,1,0+1,2,3,4,5,6 and 7 at present, the rank of RAID comprises:, wherein, RAID0 rank is nonredundancy RAID rank.
For hard disk, because its data line and power lead separate, so allow user to pull out or change damage hard disk in shutdown system not, do not cut off the electricity supply in the situation that, this process is called hot removal of magnetic disk.Support that hot removal is one of basic function of disk array.In double control disk array, in the array under read-write state just, pull out after a disk, trigger hardware associated drives and dual control associated drives, and notify logical device to drive layer disk failure.Meanwhile, the logical device of reading and writing sends disk failure report because can not find physical disk, and therefore, logical device drives layer to receive three events simultaneously: the notification event of two controllers and the read-write event of makeing mistakes.
In existing technology, owing to only having provided technology how to find hot removal of magnetic disk, and the sequence of events hot removal disk not being caused and state carry out the technology of logical process, thereby, make system to the timely recovery capability of disaster a little less than, lack extendability and dirigibility.
Summary of the invention
In view of this, the invention provides a kind of disposal route and device of hot removal of magnetic disk, in order to solve prior art after hot removal of magnetic disk owing to the caused event of hot removal disk and state not being carried out to logical process, and cause the system problem weak to the timely recovery capability of disaster.
According to an aspect of the present invention, provide a kind of disposal route of hot removal of magnetic disk, the method is at the disk array of multi-controller, when being pulled out after a disk in the array under read-write state just, hot removal of magnetic disk event processed.
Comprise according to the disposal route of hot removal of magnetic disk of the present invention: drive layer to receive after disk failure report in logical device, come from master controller in definite disk failure report, and in the situation of current logical device in reconfiguration status, judge whether current logical device is redundancy Redundant Arrays of Inexpensive Disks RAID rank, if, currently be pulled out the disk group membership that disk is corresponding and be set to malfunction, and proceed reconfiguration operation; Otherwise the current all logical device that are pulled out disk place disk group are set to malfunction, stop reconfiguration operation, and the status information of current logical device is sent to opposite terminal controller.
According to another aspect of the present invention, provide a kind for the treatment of apparatus of hot removal of magnetic disk, this application of installation is in the disk array of multi-controller.
Comprise according to the treating apparatus of hot removal of magnetic disk of the present invention: receiver module, the first judge module, the second judge module, the 3rd judge module, configuration module and sending module.Wherein, receiver module, lost efficacy and reported for reception of magnetic disc; The first judge module, for judging whether disk failure report comes from master controller event; The second judge module, for judging whether current logical device processes reconfiguration status; The 3rd judge module, for judging whether current logical device is redundancy RAID rank; Configuration module, is in situation for being in the judged result of the first judge module, the second judge module and the 3rd judge module, is currently pulled out the disk group membership that disk is corresponding and is set to malfunction, carries out reconfiguration operation; In the case of the judged result of the first judge module and the second judge module be judged result no, the 3rd judge module be no, the current all logical device that are pulled out disk place disk group are set to malfunction, stop reconfiguration operation; Sending module, for sending to opposite terminal controller by the status information of current logical device.
By above-mentioned at least one scheme of the present invention, by the caused sequence of events of hot removal disk and state are carried out to logical process, can improve the timely recovery capability of disk system to disaster, and strengthen its extendability and dirigibility.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in write instructions, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of disk array controller;
Fig. 2 is the structural representation that logical device drives;
Fig. 3 is the process flow diagram of the disposal route of the hot removal of magnetic disk of the embodiment of the present invention;
Fig. 4 is according to the structural representation of the treating apparatus of the hot removal of the embodiment of the present invention;
Fig. 5 is the structural representation of the treating apparatus of hot removal according to the preferred embodiment of the invention;
Fig. 6 is the structural representation of the treating apparatus of the hot removal of another preferred embodiment according to the present invention;
Fig. 7 is the process flow diagram of realizing the processing of hot removal of magnetic disk in double control disk array according to the embodiment of the present invention.
Embodiment
Functional overview
In multi-controller, after same disk is pulled out, each controller can detect that disk is pulled out, and all notifies logical device layer.So, when the disk array of reading and writing, to extract after a disk, logical device drives layer, can receive three kinds of disk failure reports.Repeatedly process this three kinds of disk failure reports for fear of logical device, affect the result of logical device, the embodiment of the present invention provides a kind of processing scheme of hot removal of magnetic disk, for the disk array at multi-controller, when being pulled out after a disk in the array under read-write state just, hot removal of magnetic disk event is processed.In embodiments of the present invention, by member condition and the mutual exclusion lock mechanism of logical device are set, solve that logical device is repeatedly processed above-mentioned three kinds of disk failure report and the problem that affects the result of logical device.In embodiments of the present invention, first, for multiple controllers, logical device receives only the disk failure report of master controller, for the inefficacy report from control, directly returns, and after waiting master control to finish dealing with, notice is from control, and synchronous regime.Enter in mutual exclusion lock for the report of disk failure for the first time in master control, failed disk is set to fault, and logical device is set to the reconstruction state that needs.After the report of inefficacy for the second time causing by extracting same disk enters, judge that disk is malfunction or is rebuilding state, directly return.
In the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
Before the technical scheme that the embodiment of the present invention is provided describes, for the ease of understanding, first disk array controller and logical device driving are simply introduced.
Fig. 1 is the structural representation of disk array controller, as shown in Figure 1, disk array controller comprises hardware and software two parts, and the environment of hardware supported has IOP342 processor, the multinuclear such as X86, PPC multiloop loop system or multiprocessing node system, support the hardware accelerators such as DMA, XOR; The architecture of software is supported linux operating system, on the basis of linux kernel, realizes the data processing to disk array, and all processing all realize at kernel state.Software mainly comprises hardware associated drives, dual control associated drives, logical device driving and cache relevant treatment etc.
Fig. 2 is the structural representation that logical device drives, as shown in Figure 2, logical device drives and is mainly divided into following part: the processing of disk management, the management of disk group and logical device, wherein, multiple disk composition disk groups in array, logical device is based upon on disk, and disk group is logical device allocation space.
According to the embodiment of the present invention, first a kind of disposal route of hot removal of magnetic disk is provided, for the disk array at multi-controller, when being pulled out after a disk in the array under read-write state just, hot removal of magnetic disk event is processed.
Fig. 3 is the process flow diagram of the disposal route of the hot removal of magnetic disk that provides of the embodiment of the present invention, as shown in Figure 3, in specific implementation process, drives layer to receive after disk failure report in logical device, and the method mainly comprises the following steps:
Step 301, determine that disk failure report comes from master controller, and current logical device is in reconfiguration status;
Step 302, judges that whether current logical device is redundancy RAID rank, if so, performs step 303; Otherwise, execution step 304;
Step 303, is currently pulled out the disk group membership that disk is corresponding and is set to malfunction, and proceeds reconfiguration operation;
Step 304, the current all logical device that are pulled out disk place disk group are set to malfunction, stop reconfiguration operation;
Step 305, sends to opposite terminal controller by the status information of current logical device.
In specific implementation process, determining in the time that definite disk failure report is carried out autonomous controller, if current logical device not in reconfiguration status, said method can also comprise the following steps:
Step 1, judges whether current logical device is redundancy RAID rank, and if not, all logical device of disk group are set to malfunction, and process ends, otherwise, execution step 2;
In specific implementation process, before process ends, the status information of current logical device can also be sent to opposite terminal controller.
Step 2, increases mutual exclusion lock, judges that whether disk group is in normal condition, if so, the state of revising disk group is malfunction, and is currently pulled out the disk group membership that disk is corresponding and is set to malfunction, increase the number of the failed disk of disk group, execution step 4; Otherwise, execution step 3;
Step 3, judges the state of failed disk in disk group, if to be disk normal or disk is being rebuild state for the state of failed disk, performs step 6; Otherwise, the failed disk number of increase disk group, execution step 4;
Step 4, judges whether the failed disk number of disk group exceedes preset value, if so, all logical device in disk group is set to malfunction, execution step 6; Otherwise, execution step 5;
Step 5, discharges mutual exclusion lock, is state to be reconstructed by the status modifier of disk group;
Step 6, discharges described mutual exclusion lock, process ends.
In specific implementation process, after carrying out above-mentioned steps 5, further in inquiry system, whether there is the HotSpare disk that can use, if, HotSpare disk is joined to disk group, and the member of disk group is set to rebuild state, disk group is reshuffled; Otherwise, current logical device is set to degraded running pattern, process ends.
And after disk group has been reshuffled, above-mentioned disk group can further be upgraded the configuration information of this disk group, and by the state of this disk group with and member's state send to opposite terminal controller.
According to the embodiment of the present invention, a kind for the treatment of apparatus of hot removal is also provided, this application of installation is in the disk array of multi-controller.
Fig. 4 is according to the structural representation of the treating apparatus of the hot removal of the embodiment of the present invention, as shown in Figure 4, said apparatus comprises: receiver module 40, the first judge module 41, the second judge module 42, the 3rd judge module 43, configuration module 44 and sending module 45, wherein, receiver module 40, lost efficacy and reported for reception of magnetic disc; The first judge module 41, for judging whether disk failure report comes from master controller event; The second judge module 42, for judging whether current logical device processes reconfiguration status; The 3rd judge module 43, for judging whether current logical device is redundancy RAID rank; Configuration module 44, is in situation for being in the judged result of the first judge module 41, the second judge module 42 and the 3rd judge module 43, is currently pulled out the disk group membership that disk is corresponding and is set to malfunction, carries out reconfiguration operation; In the case of the judged result of the first judge module 41 and the second judge module 42 be judged result no, the 3rd judge module 43 be no, the current all logical device that are pulled out disk place disk group are set to malfunction, stop reconfiguration operation; Sending module 45, for sending to opposite terminal controller by the status information of current logical device.
Particularly, configuration module 44 can also be used in the case of the judged result of the first judge module 41 be, the judged result of the second judge module 42 and the 3rd judge module 43 be no, all logical device of disk group are set to malfunction.
Particularly, Fig. 5 is the structural representation of the treating apparatus of hot removal according to the preferred embodiment of the invention, and as shown in Figure 5, said apparatus can further include: the 4th judge module 46, counter 47 and the 5th judge module 48, wherein,
The 4th judge module 46, in the judged result of the first judge module 41 and the 3rd judge module 43 be, the judged result of the second judge module 42 be no, judge that whether disk group is in normal condition; Above-mentioned configuration module 44 can also be used for judged result at the 4th judge module 46 for being in situation, is malfunction by the status modifier of disk group, and is currently pulled out the disk group membership that disk is corresponding and is set to malfunction;
Counter 47, for calculating the number of failed disk of disk group, in the case of the judged result of the 4th judge module 46 be no, increase the number of the failed disk of its calculating;
Whether the 5th judge module 48, exceed preset value for the value that judges counter 47; Above-mentioned configuration module 44 also in the judged result of the 5th judge module 48 be no, be state to be reconstructed by the status modifier of disk group.
Particularly, Fig. 6 is the structural representation of the treating apparatus of the hot removal of another preferred embodiment according to the present invention, as shown in Figure 6, said apparatus can also comprise: enquiry module 49, for after configuration module 44 is state to be reconstructed by the status modifier of disk group, in inquiry system, whether there is the HotSpare disk that can use; The HotSpare disk that above-mentioned configuration module 44 can also be used for that enquiry module 49 is found adds disk group, and the member of disk group is set to rebuild state, and disk group is reshuffled.
The specific implementation process of the technical scheme embodiment of the present invention being provided below in conjunction with specific embodiment describes.
In the present embodiment, drive layer to be divided into three layers logical device: disk management layer, disk group administration and supervision authorities and logical device layer, wherein, disk management layer imports disk hyperdisk to disc array system, and disk group administration and supervision authorities are by a group of multiple disk composition, and disk group is carried out to space management as a whole, logical device layer is created in disk group, from disk group allocation space, realizes the data management of concrete RAID.In addition, the state of disk group is defined as GOOD, FAIL, REBUILD_NEED and REBUILDING, represents respectively that disk group is normal, disk group fault, state to be reconstructed and rebuilding; Its member is defined as PD_OK, PD_FAIL, PD_REBUILDING, represents that disk is normal, disk failure and disk rebuild.
Fig. 7 is the process flow diagram of realizing the processing of hot removal of magnetic disk in double control disk array in the present embodiment.As shown in Figure 7, the process of at the present embodiment, hot removal disk being processed mainly comprises the following steps:
The inefficacy report of step 701, disk group administration and supervision authorities reception of magnetic disc administration and supervision authorities;
Step 702, judges whether the current report receiving is master controller event, if so, enters step 703, otherwise, normally to return, opposite terminal controller is notified by local terminal, process ends;
Step 703, judge whether current logical device is in reconfiguration operation states such as becoming level, migration or dilatation, if reshuffled, enters step 704, otherwise, step 710 entered;
Whether step 704, decision logic equipment are redundancy RAID rank, if RAID1, RAID10, RAID3, RAID5, RAID6 rank determine that this logical device is redundancy RAID rank, enter step 705, otherwise, enter step 707;
Step 705, is set to PD_FAIL by pulling out the disk group membership state that disk is corresponding, and logical device is set to degraded mode;
Step 706, continues to carry out reconfiguration operation;
Step 707, if current all logical device of being pulled out disk place disk group are set to malfunction by RAID0;
Step 708, stops reconfiguration operation, the failure of report reconfiguration operation;
Step 709, by the state notifying of current logical device, to opposite terminal controller, opposite terminal controller is finished dealing with after state information updating, sends and has replied message, process ends;
Step 710, judge whether current logical device is redundancy RAID rank, if RAID1, RAID10, RAID3, RAID5, RAID6 rank determine that current logical device is redundancy RAID rank, enter step 711, otherwise, step 722 entered;
Step 711, increases mutual exclusion lock;
Step 712, judges that disk group is current whether in normal condition, and GOOD if, enters step 713, otherwise, if disk group is FAIL, enter step 721;
Step 713, amendment disk group state is FAIL, and the member corresponding disk of being pulled out is set to PD_FAIL, increases the fault number of this disk group, enters step 714;
Step 714, judge whether the number of the failed disk of disk group is greater than preset value (being redundancy maximum number), if so, enters step 715, otherwise, step 717 entered;
Particularly, for the redundancy RAID rank of different stage, the value difference of above-mentioned redundancy maximum number, for example, if RAID1 member was lost efficacy, number was greater than n-1 (n is total member's number), the RAID10 member number that lost efficacy and is greater than n/2, RAID5 member and lost efficacy that number is greater than 1, RAID6 member was lost efficacy, and number is greater than 2, think that the disk number losing efficacy in disk group exceedes redundancy maximum number, enter step 715, otherwise, think that the inefficacy number of disk group is less than redundancy maximum number, enters step 717.
Step 715, is set to FAIL (being malfunction) by all logical device in disk group;
Step 716, discharges mutual exclusion lock, process ends;
Step 717, discharges mutual exclusion lock, and the state of disk is set to REBUILD_NEED, enters and rebuilds the preparatory stage;
Whether step 718, have HotSpare disk to use in inquiry system, if had, perform step 719, otherwise, logical device is set to degraded running pattern, and process ends;
Step 719, HotSpare disk is joined to disk group, and member in disk group is set to REBUILDING, upgrade former data, and be set to rebuild state as the member of front disk group, disk group is reshuffled;
Step 720, rebuild after, more new metadata of disk group, and will work as front disk group state and disk group membership state sends to opposite terminal controller, after opposite terminal controller is finished dealing with, process ends;
Step 721, judges and the state of disk group failed disk corresponding in hot removal report if member be PD_OK and PD_REBUILDING in disk group, shows to be in normal process state, release mutual exclusion lock, and process ends, otherwise, enter step 713;
Step 722, if the redundancy RAID rank of logical device is RAID0, is set to FAIL state, then process ends by all logical device in disk group.
Above step has completed all processes of the processing of hot removal of magnetic disk in double control disk array.
In sum, the technique scheme providing by the embodiment of the present invention, configuration information between can retentive control device and data synchronous, can also avoid re-treatment and the guarantee redundant array of disk array to proceed read-write operation under degraded mode, thereby, the dirigibility, reliability and the security that have improved disc array system.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the disposal route of a hot removal of magnetic disk, for the disk array at multi-controller, when being pulled out after a disk in the array under read-write state just, hot removal of magnetic disk event is processed, it is characterized in that, drive layer to receive after disk failure report in logical device, described method comprises:
Determining that described disk failure report comes from master controller, and in the situation of current logical device in reconfiguration status, judge whether described current logical device is redundancy RAID rank, if, currently be pulled out the disk group membership that disk is corresponding and be set to malfunction, and proceed reconfiguration operation; Otherwise,
The current all logical device that are pulled out disk place disk group are set to malfunction, stop reconfiguration operation, and the status information of described current logical device is sent to opposite terminal controller.
2. method according to claim 1, is characterized in that, in the time that definite described disk failure report is carried out autonomous controller, if described current logical device not in reconfiguration status, described method also comprises:
Judge whether described current logical device is redundancy RAID rank, and if not, all logical device of described disk group are set to malfunction, process ends.
3. method according to claim 2, is characterized in that, after all logical device of described disk group are set to malfunction, described method also comprises:
The status information of described current logical device is sent to opposite terminal controller.
4. method according to claim 2, is characterized in that, if described current logical device is redundancy RAID rank, described method also comprises:
Step 1, increases mutual exclusion lock, judges that whether described disk group is in normal condition, if so, the state of revising described disk group is malfunction, and is currently pulled out the disk group membership that disk is corresponding and is set to malfunction, increase the number of the failed disk of described disk group, execution step 3; Otherwise, execution step 2;
Step 2, judges the state of failed disk in described disk group, if to be disk normal or disk is being rebuild state for the state of failed disk, performs step 5; Otherwise, increase the failed disk number of described disk group, execution step 3;
Step 3, judges whether the failed disk number of described disk group exceedes preset value, if so, all logical device in described disk group is set to malfunction, execution step 5; Otherwise, execution step 4;
Step 4, discharges described mutual exclusion lock, is state to be reconstructed by the status modifier of described disk group;
Step 5, discharges described mutual exclusion lock, process ends.
5. method according to claim 4, is characterized in that, after the status modifier of described disk group is state to be reconstructed, described method also comprises:
In inquiry system, whether have the HotSpare disk that can use, if so, described HotSpare disk is joined to described disk group, and the member of described disk group is set to rebuild state, described disk group is reshuffled; Otherwise,
Described current logical device is set to degraded running pattern, process ends.
6. method according to claim 5, is characterized in that, after described disk group has been reshuffled, described method also comprises:
Described disk group is upgraded the configuration information of described disk group, and the member's of the state of described disk group and described disk group state is sent to described opposite terminal controller.
7. a treating apparatus for hot removal of magnetic disk, is applied in the disk array of multi-controller, it is characterized in that, described device comprises:
Receiver module, lost efficacy and reported for reception of magnetic disc;
The first judge module, for judging whether described disk failure report comes from master controller event;
The second judge module, for judging that whether current logical device is in reconfiguration status;
The 3rd judge module, for judging whether described current logical device is redundancy RAID rank;
Configuration module, is in situation for being in the judged result of described the first judge module, described the second judge module and described the 3rd judge module, is currently pulled out the disk group membership that disk is corresponding and is set to malfunction, carries out reconfiguration operation; In the case of the judged result of described the first judge module and described the second judge module be, the judged result of described the 3rd judge module be no, the current all logical device that are pulled out disk place disk group are set to malfunction, stop reconfiguration operation;
Sending module, for sending to opposite terminal controller by the status information of described current logical device.
8. device according to claim 7, is characterized in that, described configuration module also for:
In the case of the judged result of described the first judge module be, the judged result of described the second judge module and described the 3rd judge module be no, all logical device of described disk group are set to malfunction.
9. device according to claim 7, is characterized in that, described device also comprises:
The 4th judge module, in the judged result of described the first judge module and described the 3rd judge module be, the judged result of described the second judge module be no, judge that whether described disk group is in normal condition;
Described configuration module also for the judged result at described the 4th judge module the 4th judge module for being in situation, be malfunction by the status modifier of described disk group, and be currently pulled out the disk group membership that disk is corresponding and be set to malfunction;
Counter, for calculating the number of failed disk of described disk group, in the case of the judged result of described the 4th judge module the 4th judge module be no, increase the number of the failed disk of its calculating;
Whether the 5th judge module, exceed preset value for the value that judges described counter;
Described configuration module also in the judged result of described the 5th judge module the 5th judge module be no, be state to be reconstructed by the status modifier of described disk group.
10. device according to claim 9, is characterized in that, described device also comprises:
Whether enquiry module, for after described configuration module is state to be reconstructed by the status modifier of described disk group, have the HotSpare disk that can use in inquiry system;
Described configuration module also adds described disk group for the HotSpare disk that described enquiry module is found, and the member of described disk group is set to rebuild state, and described disk group is reshuffled.
CN200910209620.5A 2009-10-30 2009-10-30 Method and device for processing hot removal of magnetic disk Active CN101699389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910209620.5A CN101699389B (en) 2009-10-30 2009-10-30 Method and device for processing hot removal of magnetic disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910209620.5A CN101699389B (en) 2009-10-30 2009-10-30 Method and device for processing hot removal of magnetic disk

Publications (2)

Publication Number Publication Date
CN101699389A CN101699389A (en) 2010-04-28
CN101699389B true CN101699389B (en) 2014-12-10

Family

ID=42147849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910209620.5A Active CN101699389B (en) 2009-10-30 2009-10-30 Method and device for processing hot removal of magnetic disk

Country Status (1)

Country Link
CN (1) CN101699389B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887386A (en) * 2010-06-02 2010-11-17 深圳市迪菲特科技股份有限公司 Method and system for processing failure of redundant array of independent disk controller
CN104679447B (en) * 2014-12-31 2018-05-18 曙光信息产业股份有限公司 Magnetic disc control method and device
CN108255410B (en) * 2016-12-28 2021-06-01 华为技术有限公司 Method for processing disk roaming, RAID controller and equipment
CN107301106A (en) * 2017-06-28 2017-10-27 郑州云海信息技术有限公司 The restoration methods and device of a kind of RAID system failure

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924784A (en) * 2006-09-08 2007-03-07 华为技术有限公司 Method and apparatus for treating disc hot insert
CN101465769A (en) * 2009-01-16 2009-06-24 华中科技大学 Dynamic fault detection system for dual controller disk array

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7516352B2 (en) * 2006-03-21 2009-04-07 International Business Machines Corporation Isolating a drive from disk array for diagnostic operations

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924784A (en) * 2006-09-08 2007-03-07 华为技术有限公司 Method and apparatus for treating disc hot insert
CN101465769A (en) * 2009-01-16 2009-06-24 华中科技大学 Dynamic fault detection system for dual controller disk array

Also Published As

Publication number Publication date
CN101699389A (en) 2010-04-28

Similar Documents

Publication Publication Date Title
Spainhower et al. IBM S/390 parallel enterprise server G5 fault tolerance: A historical perspective
CN101449245B (en) Mirroring data between primary and secondary sites
US6408400B2 (en) Disk array device
US8839028B1 (en) Managing data availability in storage systems
CN101576836B (en) Degradable three-machine redundancy fault-tolerant system
CN1776675B (en) Method and system for storing and using metadata in multiple storage locations
CN1300696C (en) Memory controller and data storage method
US7600152B2 (en) Configuring cache memory from a storage controller
EP0780765B1 (en) Data processing apparatus and method for the replacement of failed storage devices
CN100517250C (en) Apparatus and method for controlling RAID array rebuild
US7536588B2 (en) Method for servicing storage devices in a bladed storage subsystem
CN101351760A (en) Method and system for accessing auxiliary data in power-efficient high-capacity scalable storage
US20070186059A1 (en) Shared/exclusive control scheme among sites including storage device system shared by plural high-rank apparatuses, and computer system equipped with the same control scheme
CN102012847A (en) Improved disk array reconstruction method
CN105302667B (en) High reliability data backup and restoration methods based on aggregated structure
CN101578586A (en) Using virtual copies in a failover and failback environment
CN101699389B (en) Method and device for processing hot removal of magnetic disk
CN103513942A (en) Method and device for reconstructing independent redundancy array of inexpensive disks
CN106569751A (en) Multi-controller cache mirroring method and system
US8886993B2 (en) Storage device replacement method, and storage sub-system adopting storage device replacement method
CN103678025B (en) A kind of disk failure processing method in disk array
JPH0384643A (en) Cache incorporation control method for disk controller
US6334195B1 (en) Use of hot spare drives to boost performance during nominal raid operation
CN104461791A (en) Information processing method and device
CN102819480A (en) Computer and method for monitoring memory thereof

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