Virtual machine cloning method and device and computer readable storage medium
A cloning method and technology for virtual machines, applied in the field of cloning, can solve problems such as affecting the performance and business of the original virtual machine, occupying large disk IO, and not being suitable for virtual machines, so as to avoid the impact of business and performance and improve the cloning speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] The embodiment of the present invention proposes a virtual machine cloning method, image 3 Schematic diagram of the implementation process of the virtual machine cloning method Figure 1 ,Such as image 3 As shown, in an embodiment of the present invention, the method for cloning a virtual machine by a virtual machine cloning device may include the following steps:
[0067] Step 101: Determine the original directory corresponding to the original virtual machine, and perform linked cloning on the original image file of the original virtual machine through the ROW snapshot in the original directory to obtain the target image file.
[0068] In the embodiment of the present application, the virtual machine cloning device can first determine the original directory corresponding to the original virtual machine, and then link and clone the original image file of the original virtual machine under the original target, so as to obtain the corresponding target image file . Sp...
Embodiment 2
[0104] Based on the first embodiment above, in another embodiment of the present application, Figure 10 Schematic diagram of the implementation process of the virtual machine cloning method Figure five ,Such as Figure 10 As shown, the cloning device of the virtual machine performs a ROW snapshot on an original image file in the original directory, and the method for obtaining a target image file corresponding to the original image file may include the following steps:
[0105] Step 201 , take a ROW snapshot of an original image file, and obtain a first snapshot file and a read-only file corresponding to the original image file; wherein, the first snapshot file is used for reading and writing processing of the original virtual machine.
[0106] In the embodiment of the present application, the virtual machine cloning device may first perform a ROW snapshot on an original image file in the original directory, so as to obtain a snapshot file, that is, obtain a first snapshot ...
Embodiment 3
[0120] Based on the first and second embodiments above, in another embodiment of the present application, Figure 12 Schematic diagram of the implementation process of the virtual machine cloning method Figure six ,Such as Figure 12 As shown, the method for cloning a virtual machine by a virtual machine cloning device may include the following steps:
[0121] Step 301 , taking a ROW snapshot of an original image file in the original directory to obtain a corresponding target image file.
[0122] In the embodiment of the present application, the virtual machine cloning device may perform linked cloning on the original image file of the original virtual machine under the original target corresponding to the original virtual machine to obtain the corresponding target image file. Specifically, the virtual machine cloning device may first perform a ROW snapshot of an original image file in the original directory, so as to obtain a target image file corresponding to the original...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


