Method for obtaining mirror image of damaged system disk of virtual machine
A virtual machine and system disk technology, applied in the field of cloud computing, can solve the problems of virtual machine hardware damage, poor versatility, inconvenient transfer, etc., and achieve the effect of high speed and strong versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] See figure 1 , is a flowchart of the present invention, and the specific implementation process is as follows:
[0028] 1. Create a virtual machine in the form of an external snapshot, as follows
[0029] #qemu-img create / instance / cache / emi-12345-f qcow2 / instance / i-ab234 / emi-12345.snap
[0030] Among them, emi-123456 is the parent image; emi-12345.snap is the snapshot image
[0031] The virtual machine configuration file libvirt.xml is as follows:
[0032]
[0033]
[0034] 2. Create a virtual machine and write data to the second file
[0035] #virsh create libvirt.xml
[0036] 3. Shut down the virtual machine and re-snapshot the parent image
[0037] #virsh destroy i-ab234
[0038] #mv / instance / i-ab234 / emi-12345.snap / instance / i-ab234 / emi-12345.snap.old
[0039] #qemu-img create / instance / cache / emi-12345-f qcow2 / instance / i-ab234 / emi-12345.snap
[0040] 4. Remount the original system image as the second hard disk
[0041] Add the configuration file disk.xm...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com