From: "Lentes, Bernd" <bernd.lentes@xxxxxxxxxxxxxxxxxxxxx> Subject: resize raw images Date: Fri, 28 Sep 2012 18:14:45 +0200 > I also have to create some new vm's. What is when disk space is running out ? My idea is to create the new vm's in raw images. Inside the vm, filesystems will reside in logical volumes. When disk space is running out, i resize the raw image using: > > - qemu-img create -f raw additional.raw <size> > - cat additional.raw >> vm.raw > - inside the vm, resize the filesystems easily with lvm tools und resize2fs. > > What do you think about this idea ? Are there easier solutions ? This question will be good at virt-tools-list. http://www.redhat.com/mailman/listinfo/virt-tools-list http://virt-tools.org/ And virt-resize will be what you want. http://libguestfs.org/virt-resize.1.html Regards, -- Kazuo Moriwaka -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html