On 10/28/2012 04:43 AM, Chandana De Silva wrote: > Hello All, > > I am using Centos 6.3 with libvirt 0.910 and qemu-kvm 0.12 > > I had to resize a qcow2 disk, and came across several issues; > > I used this command to resize the image: > > sudo -i /usr/bin/qemu-img /var/lib/libvirt/images/mydisk.img resize > +100G . The disk is attached using virtio. For my resizes I use libguestfs's virt-resize [1] tool. It's been working flawlessly so far -- it resizes both the image file/device and partitions inside that image. I can't recommend it enough. Best, Hristo [1] http://www.libguestfs.org/virt-resize.1.html _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users