[fedora-virt] virt-install disk size problems

Richard W.M. Jones rjones at redhat.com
Fri Mar 28 21:33:13 UTC 2014


On Fri, Mar 28, 2014 at 04:59:37PM +0000, James Harrison wrote:
> Hi All,
> 
> If I use sparce=true or false I end up with a 100Gb qcow2 (raw) file. However If I look at the disk size in virt-manager the file is 20Gb.

What is the output of:

  qemu-img info /var/lib/libvirt/images/stage.qcow2

Also I wouldn't personally use cache=none.  I would use
cache=writeback instead.

http://rwmj.wordpress.com/2013/09/02/new-in-libguestfs-allow-cache-mode-to-be-selected/#content

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v


More information about the virt mailing list