Disk Virtualization series (a): qcow2 file, raw files, qcow2 mirror, vmdk file

qcow2, raw files

  Kvm manually create a virtual machine when it is first ( qemu-img create -f qcow2 /data/10g.qcow2 10G) to create a disk file, and the file will be used as virtual machine disk, storage virtualization + file system is the industry's most commonly used storage virtualization technology, so we have the most contact.
  kvm virtual machine disk files and qcow2 main raw formats, and raw qcow2 difference is?

Types of qcow2 raw
characteristic quickcopyonwrite2, write copy, began to occupy only a little capacity to support the dynamic expansion, compression support, support for AES encryption, support snapshots, better performance. Bare format, you need to specify when you create storage capacity, full capacity occupied, does not support the dynamic expansion, it does not support snapshots, good performance.

  

vmdk file

  When using VMware, and often encounter vmdk file is corrupted, then the cloud host will not start. VMware vmdk files are very important (operating system and other information stored on it)

  • .vmdk file: contains information about the virtual disk. Virtual machine file system is built on .vmdk file.
      
      

Cross-platform Cloud Host Migration

  From the above we can know that different platforms disk file format is different, so carry on cloud host migration is an important step is to convert the format.

virt-v2v tool

  virt-v2v is a script written by perl language, you can automate the creation of virtual machines on Xen, KVM and VMware ESX are copied to the host virt-v2v, and automatically change the configuration so that it can be libvirt management.
use

Links:
https://www.ibm.com/developerworks/cn/linux/1409_qiaoly_qemuimgages/index.html
V2V V2V virt-
VMware virtualization

发布了93 篇原创文章 · 获赞 28 · 访问量 9万+

Guess you like

Origin blog.csdn.net/shuzishij/article/details/104006836