Unlock instant, AI-driven research and patent intelligence for your innovation.

A virtual machine data copy method and a virtual machine data copy system

A data copy and virtual machine technology, applied in the field of virtualization, can solve the problems of wasting storage space and copying time, and achieve the effect of saving copying time and reducing the amount of data

Active Publication Date: 2021-08-13
SANGFOR TECH INC
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] From the above method 1 and method 2, it can be known that when performing virtual machine cloning and backup, the copied data is not copied according to the size of the actual effective data contained in the image, but is copied according to the actual physical disk space occupied by the image, resulting in In the process of copying, there are many copies of invalid data, resulting in waste of storage space and copying time

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
  • A virtual machine data copy method and a virtual machine data copy system
  • A virtual machine data copy method and a virtual machine data copy system
  • A virtual machine data copy method and a virtual machine data copy system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The present invention provides a virtual machine data copy method and a virtual machine data copy system for performing a virtual machine clone and backup, and reduces the amount of copy of the copy, saves a copy time and the storage space of the target store.

[0053] In order to better understand the present invention, the technical solutions in the embodiments of the present invention will be described in connection with the drawings in the embodiments of the present invention, and the embodiments described herein will be clearly understood. It is an embodiment of the invention, not all of the embodiments. Based on the embodiments in the present invention, those of ordinary skill in the art will belong to the scope of the invention in the present invention without making in the pre-creative labor premise.

[0054] The structure of the virtual machine data copy system in the virtual platform is like figure 1 As shown, including servers, source storage, and target storage,...

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 a virtual machine data copying method and a virtual machine data copying system, which are used to reduce the amount of copied data when performing virtual machine cloning and backup, and can save copying time and storage space for target storage. The method in the embodiment of the present invention includes: receiving the NBD instruction, obtaining the virtual NBD block device mirrored by the source virtual machine according to the NBD instruction; receiving the partition instruction, obtaining the data amount and partition information of the virtual NBD block device according to the partition instruction; according to the data amount and partition information Obtain the target disk image bitmap information. The target disk image bitmap information includes valid bits and invalid bits. The partition of the virtual NBD block device corresponding to the valid bit contains valid data, and the partition of the virtual NBD block device corresponding to the invalid bit contains invalid data. ; Copy the data of the partition of the virtual NBD block device corresponding to the effective bit in the image bitmap information of the target disk to obtain the copy file of the source virtual machine image.

Description

Technical field [0001] The present invention relates to the field of virtualization techniques, and more particularly to a virtual machine data copy method and a virtual machine data copy system. Background technique [0002] Virtual machine clones and backups are two common basic functions provided by virtual platforms, saved for data backups and redundant copies for virtual machines. [0003] Virtual Machine Cloning: Under the virtualization scene, copy a virtual machine to a completely exactly the same virtual machine, and the content is exactly the same, and the mirroring and configuration of both are independent. [0004] Virtual Machine Backup: In the virtualized scene, to copy the data or mirror of the virtual machine to a large-capacity storage device such as a peripheral storage or tape in the virtualization scenario, to deal with files, data loss or damage. [0005] The currently common method is to implement by copying the virtual machine mirror file, the amount of dat...

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 Patents(China)
IPC IPC(8): G06F11/14
Inventor 何林春吴扬扬
Owner SANGFOR TECH INC