* Resize Hard Disk of VM
@ 2011-07-06 9:15 Kaushal Shriyan
2011-07-06 10:39 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: Kaushal Shriyan @ 2011-07-06 9:15 UTC (permalink / raw)
To: kvm
Hi,
Is there a way to resize the Hard Disk of VM ?
Regards
Kaushal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Resize Hard Disk of VM
2011-07-06 9:15 Resize Hard Disk of VM Kaushal Shriyan
@ 2011-07-06 10:39 ` Stefan Hajnoczi
2011-07-06 10:47 ` Kevin Wolf
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2011-07-06 10:39 UTC (permalink / raw)
To: Kaushal Shriyan; +Cc: kvm
On Wed, Jul 6, 2011 at 10:15 AM, Kaushal Shriyan
<kaushalshriyan@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Resize Hard Disk of VM
2011-07-06 10:39 ` Stefan Hajnoczi
@ 2011-07-06 10:47 ` Kevin Wolf
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Wolf @ 2011-07-06 10:47 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: Kaushal Shriyan, kvm
Am 06.07.2011 12:39, schrieb Stefan Hajnoczi:
> On Wed, Jul 6, 2011 at 10:15 AM, Kaushal Shriyan
> <kaushalshriyan@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-06 10:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 9:15 Resize Hard Disk of VM Kaushal Shriyan
2011-07-06 10:39 ` Stefan Hajnoczi
2011-07-06 10:47 ` Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox