RAID recovery method, device and equipment and medium
A recovery method and a technology of preset files, which are applied to the generation of response errors, instruments, and electrical digital data processing, etc., can solve problems such as difficult to ensure RAID data storage security, loss of RAID environment parameters, and inability to restore RAID environment parameters, etc., to achieve The effect of ensuring data storage security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 It is a flowchart of a RAID recovery method provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the RAID recovery method include:
[0038] Step S10: traverse each disk, and acquire multiple target disks stored with target UUID identifiers.
[0039] It should be noted that, in this step, the operating system traverses each disk that can communicate, and the purpose is to obtain the target disk that stores the target UUID identifier. Since UUID is the unique identifier of RAID, if there is metadata in the disk, that is, once Once a RAID has been created, a UUID will be stored in the disk. The UUID is used to indicate that the identity of the metadata belongs to a certain RAID. Therefore, when the disk has a UUID, it can be identified as a disk that constitutes a RAID. And for the same RAID, the UUID identifiers of its metadata are the same, this step only acquires the target disk that stores a specified target U...
Embodiment 2
[0046] On the basis of the above embodiments, the present invention also provides the following series of preferred implementation manners.
[0047] As a preferred implementation manner, before traversing each disk and obtaining multiple target disks stored with target UUID identification, the method further includes:
[0048] Obtain the current system environment state, and judge whether the system environment state meets the system environment requirements of the target RAID;
[0049] If yes, then perform the step of traversing each disk and obtaining a plurality of target disks stored with the target UUID identification;
[0050] Otherwise, an abnormal prompt indicating that the recovery of the target RAID is abnormal is performed.
[0051] It should be noted that, in this embodiment, before restoring the RAID, that is, starting to traverse each disk, and obtaining the target disk stored with the target UUID identifier, first obtain the current system environment state, an...
Embodiment 3
[0059] The embodiment of the RAID recovery method has been described in detail above, and the present invention also provides a RAID recovery device corresponding to the method. Since the embodiments of the device part and the embodiments of the method part correspond to each other, the parts of the device For the embodiments, please refer to the description of the embodiments in the method part, which will not be repeated here.
[0060] figure 2 It is a structural diagram of a RAID recovery device provided by an embodiment of the present invention. The RAID recovery device that the embodiment of the present invention provides includes:
[0061] The disk traversal module 10 is configured to traverse each disk, and obtain multiple target disks stored with target UUID identifiers.
[0062] The level acquiring module 11 is configured to acquire the target RAID level corresponding to the target UUID ID according to the correspondence between the UUID ID and the RAID level in th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com