[virt-tools-list] Enabling qcow2 compression with virt-install

Richard W.M. Jones rjones at redhat.com
Sat Aug 25 15:10:09 UTC 2012


On Sat, Aug 25, 2012 at 11:09:52AM +0100, Paul Maunders wrote:
> > Right.  qemu doesn't support compression on writes, so you can't
> > create a new disk (with no content) with compression enabled.  You can
> > only convert an existing disk with content, and I believe writes to
> > such a disk are either entirely disabled or create uncompressed
> > content.
> 
> OK thanks that makes sense now - and it does look like you can write
> to a compressed image, but new writes are uncompressed.

What are you trying to achieve?  If you just want to make small guests
(eg for a guest library for testing) then virt-sparsify is possibly
the tool you want.

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 Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the virt-tools-list mailing list