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

Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image

A storage device and mirroring technology, applied in the direction of response error generation, redundancy in operation for data error detection, etc., can solve problems such as the inability to guarantee the redundancy of underlying important business data, and reduce the difficulty of fault processing and data recovery.

Inactive Publication Date: 2015-11-18
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, embodiments of the present invention provide a method and device for realizing high availability of Linux system storage devices based on LVM mirroring, to solve the problem that Linux systems use a single shared disk to store data in the prior art. When the single shared disk fails, The data loss caused by the unavailability of the single disk failure will greatly reduce the difficulty of fault handling and data recovery, and cannot guarantee the redundancy of important business data at the bottom layer, which in turn will be a problem for the continuity of the upper layer business

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
  • Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image
  • Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image
  • Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0045]figure 1 Provided for the embodiment of the present invention based on the LVM image to realize the high availability method flow chart of the storage device in the Linux system, the storage device includes at least 2 shared disks, and the stored data of each shared disk is the same, effectively solving the single point of failure problem, At the same time, using LVM mirroring technology, when it is detected that the data in a shared disk is faulty and un...

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 embodiment of the invention provides a method and device for achieving the high availability of a Linux system storage device on the basis of an LVM mirror image. The storage device comprises at least two shared magnetic disks with the same storage data. The method includes the steps of establishing data volumes with the same capacity and storage data for all the shared magnetic disks respectively, establishing a journal volume for a local magnetic disk, backing up all the data volumes and the journal volume into the LVM mirror image, deleting an unknown data volume and establishing a new data volume in the unknown shared magnetic disk when detecting the existence of the unknown mirror image data volume, recovering storage data in the unknown data volume into the new data volume through the LVM mirror image technology, and replacing the unknown data volume with the new data volume. The single-point failure problem is effectively solved, data in the shared magnetic disks can be recovered and reused rapidly, the failure disposal and data recovery difficulty is lowered, the redundancy of important service data on the bottom layer is ensured, the continuity of service of the upper layer is ensured, the high availability of the storage device is achieved, and meanwhile hardware cost is saved.

Description

technical field [0001] The invention relates to the technical field of storage high availability in a Linux system, in particular to a method and a device for realizing high availability of a Linux system storage device based on an LVM image. Background technique [0002] At present, a single shared disk is used in the Linux system to store data. When the single shared disk fails, the data will be lost due to the unavailability of the single disk failure. There is a single point of failure problem. It is difficult to ensure the redundancy of important business data at the bottom layer, thereby ensuring the continuity of business at the upper layer. Contents of the invention [0003] In view of this, embodiments of the present invention provide a method and device for realizing high availability of Linux system storage devices based on LVM mirroring, to solve the problem that Linux systems use a single shared disk to store data in the prior art. When the single shared disk ...

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
Inventor 邢天明杜彦魁陈良华张明明李建磊
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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