Method and device for achieving high availability of Linux system storage device on basis of LVM mirror image
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 establis...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | English |
Published |
18.11.2015
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | 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. |
---|---|
Bibliography: | Application Number: CN20151574037 |