CN110008064A - A kind of RAID restoration methods, device, equipment and medium - Google Patents

A kind of RAID restoration methods, device, equipment and medium Download PDF

Info

Publication number
CN110008064A
CN110008064A CN201910285627.9A CN201910285627A CN110008064A CN 110008064 A CN110008064 A CN 110008064A CN 201910285627 A CN201910285627 A CN 201910285627A CN 110008064 A CN110008064 A CN 110008064A
Authority
CN
China
Prior art keywords
raid
target
disk
uuid
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910285627.9A
Other languages
Chinese (zh)
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910285627.9A priority Critical patent/CN110008064A/en
Publication of CN110008064A publication Critical patent/CN110008064A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of RAID restoration methods, device, equipment and medium, the step of this method includes: to traverse to each disk, and obtain the multiple target disks for being stored with target UUID mark;According to the corresponding relationship in default file between UUID mark and RAID level, obtains target UUID and identify corresponding target RAID level;According to the communication logic between target disk each under target RAID level, corresponding RAID environment parameter is generated, and target RAID is started according to RAID environment Parameter reconstruction.This method can restore RAID environment parameter original in operating system after repacking operation system, it is ensured that user can normally obtain the data based on RAID storage in physical disk, ensure that the data storage security of RAID.In addition, the present invention also provides a kind of RAID recovery device, equipment and medium, beneficial effect are same as above.

Description

A kind of RAID restoration methods, device, equipment and medium
Technical field
The present invention relates to field of data storage, more particularly to a kind of RAID restoration methods, device, equipment and medium.
Background technique
RAID is the abbreviation of English Redundant Array of Independent Disks, and Chinese is referred to as independent superfluous Residual magnetism disk array.Briefly, RAID is a kind of the independent disk of muti-piece (physical disk) to be combined in different ways A disk group (logic magnetic disc) is formed, to provide storage performance more higher than single disk and provide technology of data copy.
The normal work of RAID need the RAID environment parameter in the operating system of equipment as support, operating system according to RAID environment parameter obtains the corresponding relationship in physical disk and RAID between logical memory space, and then is able to respond user couple It is requested in the reading and writing data of RAID, and reading and writing data is carried out in corresponding physical disk according to reading and writing data request.In reality In usage scenario, operating system in equipment is it is possible that the feelings that can not start due to equipment such as powers off at the catastrophic failures suddenly Condition needs to reset system, after repacking operation system, although the data in the corresponding physical disk of RAID are still before In the presence of, but the operating system after resetting is lost RAID environment parameter based on when controlling RAID before, therefore currently exists After repacking operation system, the original RAID environment parameter of operating system can not be restored, and then will lead in physical disk Data based on RAID storage can not normally be obtained by user, it is difficult to ensure the data storage security of RAID.
It can be seen that provide a kind of RAID restoration methods, with can be to original in operating system after repacking operation system RAID environment parameter restored, and then ensure user can normally obtain in physical disk based on RAID storage data, The data storage security for guaranteeing RAID with this is those skilled in the art's urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of RAID restoration methods, device, equipment and media, after repacking operation system RAID environment parameter original in operating system can be restored, and then ensure that user can normally obtain in physical disk Based on the data of RAID storage, guarantee the data storage security of RAID with this.
In order to solve the above technical problems, the present invention provides a kind of RAID restoration methods, comprising:
Each disk is traversed, and obtains the multiple target disks for being stored with target UUID mark;
According to the corresponding relationship in default file between UUID mark and RAID level, it is corresponding to obtain target UUID mark Target RAID level;
According to the communication logic between target disk each under target RAID level, corresponding RAID environment parameter is generated, and Start target RAID according to RAID environment Parameter reconstruction.
Preferably, it traverses, and is obtained before being stored with multiple target disks of target UUID mark to each disk, This method further comprises:
Current system environments state is obtained, and judges whether system environments state meets the system environments of target RAID and want It asks;
Each disk is traversed if it is, executing, and obtains the multiple target disks for being stored with target UUID mark The step of;
Otherwise, it carries out characterization target RAID and restores abnormal abnormal prompt.
Preferably, according to the communication logic between target disk each under target RAID level, corresponding RAID ring is generated After the parameter of border, this method further comprises:
RAID environment parameter is stored to the preset path of disk, and sets preset path to when target RAID starts Parameter read path.
Preferably, according to the corresponding relationship in default file between UUID mark and RAID level, target UUID mark is obtained Know corresponding target RAID level specifically:
According to the corresponding relationship in the default file for being stored in target disk, obtains target UUID and identify corresponding target RAID level.
In addition, the present invention also provides a kind of RAID recovery devices, comprising:
Disk spider module for traversing to each disk, and obtains the multiple targets for being stored with target UUID mark Disk;
Rank obtains module, for obtaining according to the corresponding relationship in default file between UUID mark and RAID level Target UUID identifies corresponding target RAID level;
Parameter recovery module, for generating corresponding according to the communication logic between target disk each under target RAID level RAID environment parameter, and according to RAID environment Parameter reconstruction start target RAID.
Preferably, which further comprises:
Environment judgment module for obtaining current system environments state, and judges whether system environments state meets mesh The system environments requirement of RAID is marked, if it is, executing disk spider module, otherwise, executes abnormal prompt module;
Abnormal prompt module restores abnormal abnormal prompt for carrying out characterization target RAID.
In addition, the present invention also provides a kind of RAID restorers, comprising:
Memory, for storing computer program;
Processor is realized when for executing computer program such as the step of above-mentioned RAID restoration methods.
In addition, being stored with meter on computer readable storage medium the present invention also provides a kind of computer readable storage medium Calculation machine program is realized when computer program is executed by processor such as the step of above-mentioned RAID restoration methods.
RAID restoration methods provided by the present invention, first to may once be traversed as the physical disk of RAID, with This acquisition is stored with the target disk of target UUID mark, and then the mark of the UUID according to recorded in default file and RAID level Corresponding relationship between not obtains target UUID and identifies corresponding target RAID level, and learned according to target RAID level Communication logic between each target disk, and then corresponding RAID environment ginseng is generated according to the communication logic between each target disk Number finally limits each target disk with RAID environment parameter and matches work with corresponding work-based logic, and logically group is combined into RAID form is restored to start corresponding target RAID with this.Since UUID mark is the unique identification of RAID, this method is logical It crosses target UUID mark and finds the target disk for constituting RAID to be restored, and then identified and corresponded to according to pre-recorded target UUID RAID level, determine the communication logic between each target disk, convert communication logic to the RAID executed in operating system Environmental parameter, and restore to start target RAID in an operating system with this, therefore this method can be right after repacking operation system Original RAID environment parameter is restored in operating system, it is ensured that user can normally obtain in physical disk based on RAID The data of storage ensure that the data storage security of RAID.In addition, the present invention also provides a kind of RAID recovery device, equipment and Medium, beneficial effect are same as above.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of RAID restoration methods provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of RAID recovery device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other Embodiment belongs to the scope of the present invention.
Core of the invention is to provide a kind of RAID restoration methods, with can be in operating system after repacking operation system Original RAID environment parameter is restored, and then ensures that user can normally obtain the number based on RAID storage in physical disk According to guaranteeing the data storage security of RAID with this.Another core of the invention is to provide a kind of RAID recovery device, equipment and Jie Matter.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of flow chart of RAID restoration methods provided in an embodiment of the present invention.Referring to FIG. 1, the recovery side RAID The specific steps of method include:
Step S10: traversing each disk, and obtains the multiple target disks for being stored with target UUID mark.
It should be noted that this step is that operating system traverses each disk for being able to carry out communication, it is therefore an objective to The target disk for being stored with target UUID mark is obtained, since UUID is the unique identification of RAID, so if there is member in disk Data once created RAID, then the meeting in the disk is stored with UUID mark, which identifies for characterizing metadata Identity belongs to a certain RAID, therefore when disk contains UUID mark, then it can be assumed that the disk is the disk for constituting RAID.And And for the same RAID, the UUID mark of metadata is all the same, this step, which only obtains, is stored with a certain specified mesh The target disk for marking UUID mark, i.e., only restore specified RAID.
Step S11: according to the corresponding relationship in default file between UUID mark and RAID level, target UUID mark is obtained Know corresponding target RAID level.
The record in default file that focuses on of this step has UUID to identify the corresponding relationship between RAID level, also Be say by default file can learn using target UUID identify the specific rank of RAID, and the RAID of different stage it Between, the communication logic constituted between the disk of RAID is different.
Step S12: according to the communication logic between target disk each under target RAID level, corresponding RAID environment is generated Parameter, and target RAID is started according to RAID environment Parameter reconstruction.
Due to that can learn the communication logic between each disk for constituting rank RAID, this step by RAID level Suddenly after getting target UUID and identifying corresponding target RAID level, according between target disk each under target RAID level Communication logic generates corresponding RAID environment parameter, and starts target RAID according to RAID environment Parameter reconstruction.This step is signified RAID environment parameter, be the running parameter for supporting RAID to be restored to work with normal operating conditions, and then this step is in root According to the communication logic between target disk corresponding to target RAID level, generation is supporting the target RAID of the target RAID level just The RAID environment parameter often to work, and then target RAID is started according to RAID environment Parameter reconstruction, i.e. recovery target RAID is just Often operation.
RAID restoration methods provided by the present invention, first to may once be traversed as the physical disk of RAID, with This acquisition is stored with the target disk of target UUID mark, and then the mark of the UUID according to recorded in default file and RAID level Corresponding relationship between not obtains target UUID and identifies corresponding target RAID level, and learned according to target RAID level Communication logic between each target disk, and then corresponding RAID environment ginseng is generated according to the communication logic between each target disk Number finally limits each target disk with RAID environment parameter and matches work with corresponding work-based logic, and logically group is combined into RAID form is restored to start corresponding target RAID with this.Since UUID mark is the unique identification of RAID, this method is logical It crosses target UUID mark and finds the target disk for constituting RAID to be restored, and then identified and corresponded to according to pre-recorded target UUID RAID level, determine the communication logic between each target disk, convert communication logic to the RAID executed in operating system Environmental parameter, and restore to start target RAID in an operating system with this, therefore this method can be right after repacking operation system Original RAID environment parameter is restored in operating system, it is ensured that user can normally obtain in physical disk based on RAID The data of storage ensure that the data storage security of RAID.
Embodiment two
On the basis of the above embodiments, the present invention also provides a series of preferred embodiments.
As a preferred embodiment, being traversed to each disk, and obtains and be stored with target UUID mark Before multiple target disks, this method further comprises:
Current system environments state is obtained, and judges whether system environments state meets the system environments of target RAID and want It asks;
Each disk is traversed if it is, executing, and obtains the multiple target disks for being stored with target UUID mark The step of;
Otherwise, it carries out characterization target RAID and restores abnormal abnormal prompt.
It should be noted that present embodiment is to start to traverse each disk before restoring RAID, And obtain before being stored with the target disk of target UUID mark, current system environments state is first obtained, and judge the system Whether ambient condition meets requirement of the target RAID for system environments, that is, judges whether current system environments can normally transport Row target RAID starts to execute for the extensive of target RAID if current system environments can operate normally target RAID Multiple operation, if current system environments is unable to operate normally target RAID, can not effectively restore target RAID, Therefore in the case, present embodiment carries out characterization target RAID and restores abnormal abnormal prompt, with this inform user for The recovery operation of target RAID can not be normally carried out.Present embodiment is by prejudging before restoring to target RAID Whether the operating system currently reinstalled can support target RAID to work, and when operating system environment state meets target When the system environments of RAID requires, target RAID is restored, and when operating system environment state is discontented with foot-eye RAID's When system environments requires, user is prompted to carry out abnormality processing, can be avoided with this because there are operating systems to be discontented with foot-eye RAID The case where job requirement and cause target RAID to restore abnormal generation, and then opposite improve the whole of target RAID recovery process Body reliability.
In addition, as a preferred embodiment, according to the communication between target disk each under target RAID level Logic, after generating corresponding RAID environment parameter, this method further comprises:
RAID environment parameter is stored to the preset path of disk, and sets preset path to when target RAID starts Parameter read path.
It should be noted that present embodiment is patrolled according to the communication between target disk each under target RAID level Volume, it, that is, will after generating the RAID environment parameter that can control target RAID normal work after generating corresponding RAID environment parameter RAID environment parameter is stored to the preset path of disk, and sets preset path on parameter reading road when target RAID starts Diameter.Due to consideration that in actual use, reboot operation may be carried out to operating system, and after carrying out reboot operation, operation Target RAID in operating system often stops working, in the case, in order to smoothly start the target again RAID, present embodiment store RAID environment parameter to the preset path of disk, and set target RAID for preset path Parameter read path when starting, and then when operating system, which is restarted, causes target RAID to stop working, it still is able to basis The RAID environment parameter restarting target RAID stored under the preset path of disk, therefore present embodiment passes through disk pair RAID environment parameter is stored, and can be avoided and occurs the case where RAID environment parameter loss again because operating system is restarted, Ensure that target RAID restores the global reliability after normal operating conditions.
On the basis of a series of above-mentioned embodiments, as a preferred embodiment, according in default file Corresponding relationship between UUID mark and RAID level obtains target UUID and identifies corresponding target RAID level specifically:
According to the corresponding relationship in the default file for being stored in target disk, obtains target UUID and identify corresponding target RAID level.
It should be noted that the record that focuses on of present embodiment has the default file of corresponding relationship to be pre-stored within mesh It marks in disk, that is to say, that default file is stored in the disk for constituting target RAID, since the final purpose of this method is extensive The normal work of complicated target RAID, and target disk is the physical basis for forming target RAID, therefore will be used to restore target The default file of RAID is stored in advance into the target disk of composition target RAID, opposite can reduce to other and target RAID The resource occupation of the memory space of unrelated disk, it is ensured that the normal execution of other business in operating system guarantees operating system Whole stability.
Embodiment three
Hereinbefore the embodiment of RAID restoration methods is described in detail, the present invention also provides one kind and is somebody's turn to do The corresponding RAID recovery device of method, since the embodiment of device part is corresponded to each other with the embodiment of method part, dress Set part embodiment refer to method part embodiment description, wouldn't repeat here.
Fig. 2 is a kind of structure chart of RAID recovery device provided in an embodiment of the present invention.It is provided in an embodiment of the present invention RAID recovery device, comprising:
Disk spider module 10 for traversing to each disk, and obtains the multiple mesh for being stored with target UUID mark Mark disk.
Rank obtains module 11, for obtaining according to the corresponding relationship in default file between UUID mark and RAID level Target UUID is taken to identify corresponding target RAID level.
Parameter recovery module 12, for generating phase according to the communication logic between target disk each under target RAID level The RAID environment parameter answered, and target RAID is started according to RAID environment Parameter reconstruction.
RAID recovery device provided by the present invention, first to may once be traversed as the physical disk of RAID, with This acquisition is stored with the target disk of target UUID mark, and then the mark of the UUID according to recorded in default file and RAID level Corresponding relationship between not obtains target UUID and identifies corresponding target RAID level, and learned according to target RAID level Communication logic between each target disk, and then corresponding RAID environment ginseng is generated according to the communication logic between each target disk Number finally limits each target disk with RAID environment parameter and matches work with corresponding work-based logic, and logically group is combined into RAID form is restored to start corresponding target RAID with this.Since UUID mark is the unique identification of RAID, the present apparatus is logical It crosses target UUID mark and finds the target disk for constituting RAID to be restored, and then identified and corresponded to according to pre-recorded target UUID RAID level, determine the communication logic between each target disk, convert communication logic to the RAID executed in operating system Environmental parameter, and restore to start target RAID in an operating system with this, therefore the present apparatus can be right after repacking operation system Original RAID environment parameter is restored in operating system, it is ensured that user can normally obtain in physical disk based on RAID The data of storage ensure that the data storage security of RAID.
On the basis of embodiment three, the device further include:
Environment judgment module for obtaining current system environments state, and judges whether system environments state meets mesh The system environments requirement of RAID is marked, if it is, executing disk spider module, otherwise, executes abnormal prompt module.
Abnormal prompt module restores abnormal abnormal prompt for carrying out characterization target RAID.
Example IV
The present invention also provides a kind of RAID restorers, comprising:
Memory, for storing computer program;
Processor is realized when for executing computer program such as the step of above-mentioned RAID restoration methods.
RAID restorer provided by the present invention, first to may once be traversed as the physical disk of RAID, with This acquisition is stored with the target disk of target UUID mark, and then the mark of the UUID according to recorded in default file and RAID level Corresponding relationship between not obtains target UUID and identifies corresponding target RAID level, and learned according to target RAID level Communication logic between each target disk, and then corresponding RAID environment ginseng is generated according to the communication logic between each target disk Number finally limits each target disk with RAID environment parameter and matches work with corresponding work-based logic, and logically group is combined into RAID form is restored to start corresponding target RAID with this.Since UUID mark is the unique identification of RAID, this equipment is logical It crosses target UUID mark and finds the target disk for constituting RAID to be restored, and then identified and corresponded to according to pre-recorded target UUID RAID level, determine the communication logic between each target disk, convert communication logic to the RAID executed in operating system Environmental parameter, and restore to start target RAID in an operating system with this, therefore this equipment can be right after repacking operation system Original RAID environment parameter is restored in operating system, it is ensured that user can normally obtain in physical disk based on RAID The data of storage ensure that the data storage security of RAID.
The present invention also provides a kind of computer readable storage medium, computer journey is stored on computer readable storage medium Sequence is realized when computer program is executed by processor such as the step of above-mentioned RAID restoration methods.
Computer readable storage medium provided by the present invention, first to may once as RAID physical disk carry out time Go through, obtained with this be stored with target UUID mark target disk, and then the UUID according to recorded in default file mark with Corresponding relationship between RAID level obtains target UUID and identifies corresponding target RAID level, and according to target RAID level The communication logic between each target disk is not learned, and then generates corresponding RAID according to the communication logic between each target disk Environmental parameter finally limits each target disk with RAID environment parameter and matches work with corresponding work-based logic, logically Group is combined into RAID form, restores to start corresponding target RAID with this.Since UUID mark is the unique identification of RAID, this Computer readable storage medium finds the target disk for constituting RAID to be restored by target UUID mark, and then according to preparatory note The target UUID of record identifies corresponding RAID level, determines the communication logic between each target disk, converts communication logic to The RAID environment parameter executed in operating system, and restore to start target RAID, therefore this computer in an operating system with this Readable storage medium storing program for executing can restore RAID environment parameter original in operating system after repacking operation system, it is ensured that User can normally obtain the data based on RAID storage in physical disk, ensure that the data storage security of RAID.
A kind of RAID restoration methods provided by the present invention, device, equipment and medium are described in detail above.It says Each embodiment is described in a progressive manner in bright book, and the highlights of each of the examples are the differences with other embodiments Place, the same or similar parts in each embodiment may refer to each other.For device, equipment disclosed in embodiment and medium Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, also Can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the protection scope of the claims in the present invention It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (8)

1. a kind of RAID restoration methods characterized by comprising
Each disk is traversed, and obtains the multiple target disks for being stored with target UUID mark;
According to the corresponding relationship in default file between UUID mark and RAID level, it is corresponding to obtain the target UUID mark Target RAID level;
According to the communication logic between the target disk each under the target RAID level, corresponding RAID environment ginseng is generated Number, and target RAID is started according to the RAID environment Parameter reconstruction.
2. the method according to claim 1, wherein being traversed described to each disk, and obtaining and being stored with Before multiple target disks of target UUID mark, this method further comprises:
Current system environments state is obtained, and judges whether the system environments state meets the system ring of the target RAID Border requires;
Each disk is traversed if it is, execution is described, and obtains the multiple target disks for being stored with target UUID mark The step of;
Otherwise, it carries out characterizing the abnormal prompt that the target RAID restores abnormal.
3. the method according to claim 1, wherein described according to the mesh each under the target RAID level The communication logic between disk is marked, after generating corresponding RAID environment parameter, this method further comprises:
The RAID environment parameter is stored to the preset path of the disk, and sets the target for the preset path Parameter read path when RAID starts.
4. according to claim 1 to method described in 3 any one, which is characterized in that described to be marked according to UUID in default file Know the corresponding relationship between RAID level, obtain the target UUID and identify corresponding target RAID level specifically:
According to the corresponding relationship in the default file for being stored in the target disk, the target UUID mark is obtained The corresponding target RAID level.
5. a kind of RAID recovery device characterized by comprising
Disk spider module for traversing to each disk, and obtains the multiple target disks for being stored with target UUID mark;
Rank obtains module, for according to the corresponding relationship in default file between UUID mark and RAID level, described in acquisition Target UUID identifies corresponding target RAID level;
Parameter recovery module, for generating according to the communication logic between the target disk each under the target RAID level Corresponding RAID environment parameter, and target RAID is started according to the RAID environment Parameter reconstruction.
6. device according to claim 5, which is characterized in that the device further comprises:
Environment judgment module for obtaining current system environments state, and judges whether the system environments state meets institute The system environments requirement of target RAID is stated, if it is, executing the disk spider module, otherwise, executes abnormal prompt module;
The abnormal prompt module characterizes the abnormal abnormal prompt of the target RAID recovery for carrying out.
7. a kind of RAID restorer characterized by comprising
Memory, for storing computer program;
Processor realizes such as Claims 1-4 described in any item RAID restoration methods when for executing the computer program The step of.
8. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor such as the described in any item RAID restoration methods of Claims 1-4 Step.
CN201910285627.9A 2019-04-10 2019-04-10 A kind of RAID restoration methods, device, equipment and medium Pending CN110008064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910285627.9A CN110008064A (en) 2019-04-10 2019-04-10 A kind of RAID restoration methods, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910285627.9A CN110008064A (en) 2019-04-10 2019-04-10 A kind of RAID restoration methods, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN110008064A true CN110008064A (en) 2019-07-12

Family

ID=67170855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910285627.9A Pending CN110008064A (en) 2019-04-10 2019-04-10 A kind of RAID restoration methods, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110008064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667162A (en) * 2020-12-28 2021-04-16 浙江大华技术股份有限公司 RAID recovery method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8782463B1 (en) * 2011-10-27 2014-07-15 Seagate Technology Llc Restoring a failed storage volume after removal of a storage device from an array
CN105824572A (en) * 2015-01-05 2016-08-03 中兴通讯股份有限公司 Disk storage space managing method, apparatus and storage device
CN106250278A (en) * 2016-08-04 2016-12-21 深圳市泽云科技有限公司 The data of magnetic disk array restoration methods that an a kind of key performs
CN107608633A (en) * 2017-09-25 2018-01-19 郑州云海信息技术有限公司 A kind of storage device memory management method and relevant apparatus
CN107861693A (en) * 2017-11-27 2018-03-30 郑州云海信息技术有限公司 The OSD procedure deployments method, apparatus and medium of a kind of distributed block storage system
CN108255410A (en) * 2016-12-28 2018-07-06 华为技术有限公司 A kind of method, apparatus and equipment for handling disk roam

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8782463B1 (en) * 2011-10-27 2014-07-15 Seagate Technology Llc Restoring a failed storage volume after removal of a storage device from an array
CN105824572A (en) * 2015-01-05 2016-08-03 中兴通讯股份有限公司 Disk storage space managing method, apparatus and storage device
CN106250278A (en) * 2016-08-04 2016-12-21 深圳市泽云科技有限公司 The data of magnetic disk array restoration methods that an a kind of key performs
CN108255410A (en) * 2016-12-28 2018-07-06 华为技术有限公司 A kind of method, apparatus and equipment for handling disk roam
CN107608633A (en) * 2017-09-25 2018-01-19 郑州云海信息技术有限公司 A kind of storage device memory management method and relevant apparatus
CN107861693A (en) * 2017-11-27 2018-03-30 郑州云海信息技术有限公司 The OSD procedure deployments method, apparatus and medium of a kind of distributed block storage system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
TONY: "软RAID详解", 《HTTPS://WWW.TONY-YIN.SITE/2019/02/10/SOFTWARE_RAID/》 *
WAY FOREVER: "软件RAID的mdadm使用手册", 《WEB.ARCHIVE.ORG/WEB/20150324143453/HTTP://WAY4EVER.COM/?P=139》 *
YAK SHAVING: "尝试恢复挂载服务器硬盘的RAID5", 《HTTPS://DAA233.GITHUB.IO/2017/07/28/尝试恢复挂载服务器硬盘的-RAID-5/》 *
张志斌: "Linux中软件RAID的使用", 《WEB.ARCHIVE.ORG/WEB/20080216033628/HTTPS://WWW.IBM.COM/DEVELOPERWORKS/CN/LINUX/L-CN-RAID/INDEX.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667162A (en) * 2020-12-28 2021-04-16 浙江大华技术股份有限公司 RAID recovery method and device

Similar Documents

Publication Publication Date Title
US20230138736A1 (en) Cluster file system-based data backup method and apparatus, and readable storage medium
CN106716375B (en) File system with every section verification sum
US10089148B1 (en) Method and apparatus for policy-based replication
US11099953B2 (en) Automatic data healing using a storage controller
US20090089628A1 (en) File system error detection and recovery framework
US10324794B2 (en) Method for storage management and storage device
JP2005301497A (en) Storage management system, restoration method and its program
CN106104515A (en) Utilize File system design and the fault recovery method of nonvolatile memory
CN105589733B (en) A kind of data processing method and device
CN114416665B (en) Method, device and medium for detecting and repairing data consistency
US20090187603A1 (en) File management method, file management device, and program
CN105354109A (en) Backup method and apparatus for video monitoring index data
JP2017033113A (en) System, information processing device, and information processing method
US10783042B2 (en) System and method of assessing and managing storage device degradation
JP2007323657A (en) Method and system for storing transient state information, and computer program
CN110008064A (en) A kind of RAID restoration methods, device, equipment and medium
CN106933707B (en) Data recovery method and system of data storage device based on raid technology
US7600151B2 (en) RAID capacity expansion interruption recovery handling method and system
EP2313829A1 (en) Recovery control in mirrored disks
CN115359834B (en) Disk arbitration region detection method, device, equipment and readable storage medium
US10579285B2 (en) Automatic data healing by I/O
CN113835625B (en) Data storage method, device, equipment and storage medium based on sub-path
CN106970851A (en) Method and apparatus for disk detection process in distributed file system
JP2008097156A (en) Storage control device, storage control method, and storage control program
US7797499B2 (en) Apparatus, system, and method for uninterrupted storage configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712