Skip to contentSkip to conversation

qcow2 problem in CentOS

Qemu-devel Halsey Pian 2 participants 2 messages Dec 23, 2014

lore
Share & tools
lore
#0 lore raw

Hi All,

QCOW2 feature included in Qemu-2.1.2 version works fine in Fedora, but there is issue in CentOS 6.5/7.

We can create a qcow2 img file using qemu-img in CentOS

Quoted 1 line

qemu-img create -f qcow2 test.qcow2 10G

Then using qemu-system-x86_64 or virt-manager to install one VM to this file test.qcow2 created above, the disk size is not 10G but only basic about 200K.

Are there similar issues in CentOS? Or maybe something I missed. Could you give help on it? Thanks!

Best Regards

Halsey Pian

#1 lore raw
Quoted 5 lines · Halsey Pian

QCOW2 feature included in Qemu-2.1.2 version works fine in Fedora, but there is issue in CentOS 6.5/7.

We can create a qcow2 img file using qemu-img in CentOS

Quoted 8 lines
Quoted 1 line

qemu-img create –f qcow2 test.qcow2 10G

Then using qemu-system-x86_64 or virt-manager to install one VM to this file test.qcow2 created above, the disk size is not 10G but only basic about 200K.

Are there similar issues in CentOS? Or maybe something I missed. Could you give help on it? Thanks!

Your VMs are configured to have "raw" disk images rather than "qcow2".

Paolo