美文网首页
Dive into qcow2

Dive into qcow2

作者: 红山大道 | 来源:发表于2017-11-10 11:37 被阅读0次

Ref

qemu-img command

Introduction

qcow2
QEMU image format, the most versatile format. Use it to have optional AES encryption, zlib-based compression, support of multiple VM snapshots, and smaller images, which are useful on file systems that do not support holes (non-NTFS file systems on Windows).

convert

~/vbox/kvm $ qemu-img convert -c -O qcow2 ~/vbox/vm/vm.vmdk vm01.qcow2
~/vbox/kvm $ ls -lsa
total 486M
-rw------- 1 anis users 486M Jun  9 14:29 vm01.qcow2
~/vbox/kvm $ file vm01.qcow2 
vm01.qcow2: QEMU QCOW Image (v2), 8589934592 bytes

Note:The activation of compression about the transition from vmdk format to qcow2 format via the “-c” of “qemu-img” which, in this case reduces by more than 50% the size of the virtual machine .

相关文章

网友评论

      本文标题:Dive into qcow2

      本文链接:https://www.haomeiwen.com/subject/rpuvmxtx.html