LV mirror image-based method for realizing data backup, recovery and migration in linux system

A technology of data backup and mirroring, which is applied in the direction of data error detection, response error generation, etc.

Inactive Publication Date: 2015-08-19
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under the premise of zero downtime, it is relatively difficult to ma

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further described below in conjunction with specific embodiments:

[0024] A method based on LV mirroring to realize data backup recovery and migration in Linux system. In Linux system, through LVM mirroring technology, data in one PV is backed up to LVM mirror file, and then restored and migrated to another PV , Use a new backup or replace the original PV.

[0025] Online migration of data from / dev / sda in Linux system to / dev / sdd, the specific implementation steps and codes are as follows:

[0026] Pv / dev / sda exists in the system, enter the volume group vg0

[0027] 1) Create a three PV

[0028] pvcreate / dev / sdb

[0029] pvcreate / dev / sdc

[0030] pvcreate / dev / sdd

[0031] 2) Add three new PVs to the same VG

[0032] vgextend vg0 / dev / sdb

[0033] vgextend vg0 / dev / sdc

[0034] vgextend vg0 / dev / sdd

[0035] 3) Create LVM mirror / dev / vg0 / mirror0

[0036] lvcreate -L 1000M -m1 -n mirror vg0 / dev / sda / dev / sdb / dev / sdc

[0037] View LVM mirroring status

[...

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 LV mirror image-based method for realizing data backup, recovery and migration in a linux system, in the linux system, through an LVM mirror image technology, data in one PV are backed up into an LVM mirror image file and are further recovered and migrated into the other PV, a new backup is realized or the original PV is replaced. Through the LVM mirror image technology, online migration of the data among different PVs is realized, so the management of the data on a linux platform is more convenient, more flexible and safer.

Description

Technical field [0001] The invention relates to the technical field of linux system data, relates to server linux system operation and maintenance, disk management, and online data migration, and specifically relates to a method for realizing data backup, restoration and migration in a linux system based on LV mirroring, ensuring system data security, and passing LV Management to realize data in different logical volumes, and then realize online data migration to different storage devices. Background technique [0002] In the era of big data informatization, servers play a vital role in data processing and storage in various industries. As the most common operating system in the server industry, the Linux system bears the key responsibility for data management. Faced with the huge data of enterprises, there are high requirements for the security and flexibility of system space and disk management. Under the premise of zero downtime, it is relatively difficult to manage the capa...

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
IPC IPC(8): G06F11/14
Inventor 邢天明
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products