[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] sparse files and ls



On 08/06/11 17:53, Gary Scarborough wrote:
> I guess the difference is that on the qcow2 files, the full(maximum)
> size is not showing up.
> 
> qemu-img info junk.img shows:
> 
> image: junk.img
> file format: qcow2
> virtual size: 10G (10737418240 bytes)
> disk size: 140K
> cluster_size: 65536

I would guess the "disk size" is the contained file system, not
including the qcow2 "wrapper" overhead

> ls -lash junk.img  shows:
> 
> 140K -rw-r--r-- 1 root root 193K Jun  8 11:11 junk.img

so the overhead of qcow2 container is ?53K. does this grow as the
virtual disk fills up?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]