<div dir="ltr">Hello all,<div><br></div><div>I downloaded two imagens from marketplace (Ubuntu 14.04 and CentOS 7.0).</div><div>Both images disk size are + - 1 GB, with 10G virtual size..</div><div><div>Using "qemu-img info" something like this appears... </div>
<div>file format: qcow2<br></div><div>virtual size: 10G (10737418240 bytes)<br></div><div>disk size: <b>919M</b></div></div><div>All good for these two images.</div><div><br></div><div>The problem is: I created my own image of Ubuntu using vmbuilder with a 30 GB hard disk...The image disk size is 1 GB too. This is the "qemu-img info":</div>
<div><div>file format: qcow2<br></div><div>virtual size: <b>31G</b> (33555480576 bytes)</div><div>disk size: 1.0G</div></div><div><br></div><div>However, when i use "oneimage list"...the images downloaded from marketplace appear occupying quite lower space.</div>
<div>Actually, they are occupying exactly the "disk size", and my image seems to be occupying the "virtual size".<br></div><div><br></div><div><div>$ oneimage list</div><div> ID USER GROUP NAME DATASTORE SIZE TYPE PER STAT RVMS</div>
<div> 0 oneadmin oneadmin UbuntuServer-14 qcow <b>1.1G</b> OS No rdy 0</div><div> 2 oneadmin oneadmin UbuntuServer-12 qcow <b>31.3G</b> OS No rdy 0</div><div>
3 oneadmin oneadmin CentOS-7.0_x86_ qcow <b>919M</b> OS No rdy 0</div></div><div><br></div><div>Whats is going on? How can i make my image "occupy" less space too?</div><div><br></div>
<div>Ps:. My datastore is using qcow driver.</div><div><br></div><div>Thanks a lot!</div></div>