Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

QCOW2 image convertion consumes disk space

Hi,

I am trying to convert my 500 G and 1 TB KVM running back end as LVM to qcow2 using the following command:

qemu-img convert -c -f raw -O qcow2 /dev/vg000/vm10 /home/images/Praveen.qcow2

The /home/images/ has 100 GB free space. How ever, the conversion takes all the space and getting error:

qemu-img : error while compressiong sector: no space left on the device.

Note :-

The 500 GB and 1 TB machine does not have any big data in it.

Please let me know the steps to convert this KVM LVM to qcow2 with less size of qcow2 format.