[Libguestfs] [libvirt-users] virt-sparsify changing the apparent-size of files
Richard W.M. Jones
rjones at redhat.com
Thu Jun 23 16:57:53 UTC 2016
On Thu, Jun 23, 2016 at 10:57:43AM -0500, libvirt_users at skagitattic.com wrote:
> Thanks for all the information, I think my last remaining question is
> why the image created with virt-install shows the full apparent size
> and the image from virt-sparsify does not? (The image testimage1.qcow2
> created with default options).
I don't really know what you mean by "full apparent size". If you are
talking about the output of "ls -l", then don't -- that number is
unrelated to the virtual size or the space consumed on disk. Always
use "qemu-img info".
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
More information about the Libguestfs
mailing list