It should be easy, but I have not yet found a solution. Only some methods involving use of dd, but that sounds a little scary to me on a production server. I wish there would be a command "virt-resize", but no... Maybe "virt-clone", with the option --file=DISKFILE, could be bended to do this? - Jussi Hirvi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hirvi at greenspot.fi * http://www.greenspot.fi The point is that what each one of us does from the time we wake until the time we sleep makes a difference. - Jane Goodall
On Wed, Feb 03, 2010 at 12:26:13PM +0200, Jussi Hirvi wrote:> It should be easy, but I have not yet found a solution. Only some > methods involving use of dd, but that sounds a little scary to me on a > production server. > > I wish there would be a command "virt-resize", but no... Maybe > "virt-clone", with the option --file=DISKFILE, could be bended to do this? >If you're using LVM volumes to store guest disks, then you can do "lvextend" in the host. And then do necessary steps in the guest, to resize the partitions/filesystems. -- Pasi