* Hot resizing of partitions on HVM
@ 2010-07-04 15:04 Daniel Bareiro
0 siblings, 0 replies; only message in thread
From: Daniel Bareiro @ 2010-07-04 15:04 UTC (permalink / raw)
To: KVM General
[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]
Hi all!
Is it possible to resize the partition of a KVM virtual machine without
it is down?
With Xen PV virtual machines, I get this by umounting the filesystem on
the VM, detaching the device and then resizing the logical volume and
file system in the VMHost. Finally, I attach the device and mount the
filesystem on virtual machine. All this without the VM is down.
The procedure that I am using at the moment to resizing a partition in a
KVM virtual machine is the following one:
* Shutdown the VM.
* Resize the logical volume which is the partition to resize.
* Boot a KVM VM with PartedMagic [1] and to extend the partition until
it has the wished size using GParted.
* Shutdown the KVM VM with PartedMagic.
* Boot the VM with the new partition size.
There is some more efficient way to do it?
Thanks in advance for your replies.
Regards,
Daniel
[1] http://partedmagic.com/
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-04 15:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-04 15:04 Hot resizing of partitions on HVM Daniel Bareiro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.