Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2019-07-12
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the actual use scenario, the operating system in the device may fail to start due to sudden failures such as sudden power failure of the device, and the system needs to be reinstalled. After reinstalling the operating system, although the physical disk corresponding to the previous RAID The data in the . As a result, the RAID-based data stored in the physical disk cannot be normally obtained by the user, and it is difficult to ensure the security of RAID data storage

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • RAID recovery method, device and equipment and medium
  • RAID recovery method, device and equipment and medium
  • RAID recovery method, device and equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an RAID recovery method and device, equipment and a medium, and the method comprises the steps: traversing all disks, and obtaining a plurality of target disks storing target UUID identifiers; obtaining a target RAID level corresponding to the target UUID identifier according to a corresponding relationship between the UUID identifier and the RAID level in the preset file;and according to the communication logic between the target disks under the target RAID level, generating corresponding RAID environment parameters, and according to the RAID environment parameters, recovering and starting the target RAID. According to the method, original RAID environment parameters in the operating system can be recovered after the operating system is reinstalled, it is guaranteed that a user can normally obtain data stored in a physical disk based on the RAID, and data storage safety of the RAID is guaranteed. In addition, the invention further provides an RAID recovery device and equipment and a medium, which have the above beneficial effects.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a RAID recovery method, device, equipment and medium. Background technique [0002] RAID is the abbreviation of Redundant Array of Independent Disks in English, and it is referred to as Independent Redundant Disk Array in Chinese. Simply put, RAID is a technology that combines multiple independent disks (physical disks) in different ways to form a disk group (logical disk), thereby providing higher storage performance and data backup than a single disk. [0003] The normal operation of RAID requires the support of the RAID environment parameters in the operating system of the device. The operating system obtains the corresponding relationship between the physical disk and the logical storage space in the RAID according to the RAID environment parameters, and then can respond to the user's data read and write requests for the RAID. And read and write data in the corresponding physical...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14
CPCG06F11/1456G06F11/1458
Inventor 李永亮
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products