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

Method and system for making snapshots of disk image files based on virtual machine

A technology of disk mirroring and mirroring files, which is applied in the computer field and can solve problems such as long time and long time

Active Publication Date: 2017-02-15
DAWNING CLOUD COMPUTING TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Incremental backup and differential backup, both technologies have their own disadvantages
The disadvantage of incremental backups is that to restore all files, all incremental backups must be available, which can take a long time to restore a specific file because multiple backup sets must be searched to find the latest version of the file
The downside of differential backups is that restoring all files can take a considerable amount of time since the last differential and full backup may have to be restored

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 system for making snapshots of disk image files based on virtual machine
  • Method and system for making snapshots of disk image files based on virtual machine
  • Method and system for making snapshots of disk image files based on virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] In order to make the technical solutions and advantages of the present invention clearer, the exemplary embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all implementations. Exhaustive list of examples.

[0013] In order to solve the problem of online backup and recovery of XEN virtual machine without service interruption, the present invention is proposed based on sparse disk mirroring and non-sparse disk mirroring. figure 1 A schematic flowchart of a method for making a virtual machine-based disk image file snapshot according to an embodiment of the present invention is shown.

[0014] First, in step S101, it is judged whether there is a parent disk image file. If it exists, execute step S102 to create an empty snapshot file and initialize the disk image file snapshot tail protocol. Returns a...

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 provides a disk mirroring file snapshot making method and system based on a virtual machine. The method comprises the steps of judging whether a parent disk mirroring file exists or not, if yes, creating an empty snapshot file and initializing a disk mirroring file snapshot tail protocol, judging whether the parent disk mirroring file is in a sparse type or not, if yes, initializing a disk mirroring file snapshot head protocol, filling the disk mirroring file snapshot tail protocol and the disk mirroring file snapshot head protocol, creating and filling a block distribution mapping table, and updating and recording the parent disk mirroring file path, if the parent disk mirroring file is not in a sparse type, filling the empty snapshot file with the non-sparse parent disk mirroring file, updating the disk mirroring file snapshot head protocol and the disk mirroring file snapshot tail protocol, and obtaining snapshots. By the disk mirroring file snapshot making method and system based on the virtual machine, the problems that non-sparse disk mirroring files do not support snapshots and the snapshot supporting performance of sparse disk mirroring files is poor are solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a virtual machine-based method and system for making snapshots of disk image files. Background technique [0002] XEN is a virtual machine monitor based on an open source software organization (Virtual Machine Monitor or VMM for short), which allows multiple operating system instances to run simultaneously on a single physical machine. The default RAW or QCOW2 (Qemu-copy-on-write2) disk format of XEN cannot be used across multiple platforms because the RAW or QCOW2 protocol does not support cross-platform functions. For example, virtual machine files in these two formats cannot be used in VMWare, WindowXP, Mac and other computers are used across platforms. The reason is that the RAW or QCOW2 protocol does not support this cross-platform function. Moreover, the existing RAW disk files do not support the snapshot technology, and the virtual machine cannot be regularly backed up ...

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/14G06F12/02
Inventor 李立王军林唐明徐博成书晟
Owner DAWNING CLOUD COMPUTING TECH CO LTD