리눅스 qcow2 vhd 이미지파일 변환

리눅스 qcow2 vhd 이미지파일 변환

1 방법: qemu-img[ | ]

root@zetawiki:~# ll Fedora-Cloud-Base-20141203-21.i386.*
-rw-r--r-- 1 root root 169397760 Dec  3  2014 Fedora-Cloud-Base-20141203-21.i386.qcow2
root@zetawiki:~# qemu-img info Fedora-Cloud-Base-20141203-21.i386.qcow2 
image: Fedora-Cloud-Base-20141203-21.i386.qcow2
file format: qcow2
virtual size: 3.0G (3221225472 bytes)
disk size: 162M
cluster_size: 65536
Format specific information:
    compat: 0.10
root@zetawiki:~# qemu-img convert -O vpc Fedora-Cloud-Base-20141203-21.i386.qcow2 Fedora-Cloud-Base-20141203-21.i386.vhd
root@zetawiki:~# ll Fedora-Cloud-Base-20141203-21.i386.*
-rw-r--r-- 1 root root 169397760 Dec  3  2014 Fedora-Cloud-Base-20141203-21.i386.qcow2
-rw-r--r-- 1 root root 503448064 Dec 29 15:33 Fedora-Cloud-Base-20141203-21.i386.vhd
root@zetawiki:~# qemu-img info Fedora-Cloud-Base-20141203-21.i386.vhd
image: Fedora-Cloud-Base-20141203-21.i386.vhd
file format: vpc
virtual size: 3.0G (3221471232 bytes)
disk size: 447M
cluster_size: 2097152

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}