[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] qemu-img convert will increase the VM image
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-discuss] qemu-img convert will increase the VM image |
Date: |
Wed, 11 Sep 2013 10:28:17 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 11.09.2013 um 09:14 hat xuanmao_001 geschrieben:
> Hi, all:
>
> I have question about qemu-img convert ...
>
> I have a orignal image with following information:
> # qemu-img info ori.qcow2
> image: ori.qcow2
> file format: qcow2
> virtual size: 2.0G (2097152000 bytes)
> disk size: 308M
> cluster_size: 65536
>
> when I executed with "qemu-img convert -f qcow2 -O qcow2 ori.qcow2 new.qcow2"
> the new.qcow2 like following:
> # qemu-img info new.qcow2
> image: new.qcow2
> file format: qcow2
> virtual size: 2.0G (2097152000 bytes)
> disk size: 748M
> cluster_size: 65536
>
> so, my question is why the image size increased after my operation?
You can try comparing the output of the qemu-io 'map' command for both
images.
Kevin