Resize Hard Disk of VM

2011-07-06 Thread Kaushal Shriyan
Hi,

Is there a way to resize the Hard Disk of VM ?

Regards

Kaushal
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Resize Hard Disk of VM

2011-07-06 Thread Stefan Hajnoczi
On Wed, Jul 6, 2011 at 10:15 AM, Kaushal Shriyan
kaushalshri...@gmail.com wrote:
 Is there a way to resize the Hard Disk of VM ?

You can use qemu-img resize on a disk image that is currently not in use:
qemu-img resize filename +10G

Or you can use libguestfs to get a parted-style resize:
http://libguestfs.org/virt-resize.1.html

Stefan
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Resize Hard Disk of VM

2011-07-06 Thread Kevin Wolf
Am 06.07.2011 12:39, schrieb Stefan Hajnoczi:
 On Wed, Jul 6, 2011 at 10:15 AM, Kaushal Shriyan
 kaushalshri...@gmail.com wrote:
 Is there a way to resize the Hard Disk of VM ?
 
 You can use qemu-img resize on a disk image that is currently not in use:
 qemu-img resize filename +10G

For running VMs, there is the 'block_resize' monitor command.

Kevin
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html