|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] extend hdd in domU
On Fri, Jan 23, 2009 at 1:19 AM, Carsten Schiers <carsten@xxxxxxxxxx> wrote:
Hi,
if it's an lvm, you can e.g. extend 10 GB this way when the DomU is down::
lvextend -L+10GB /dev/vgname/lvname
e2fsck -f /dev/vgname/lvname
resize2fs -p /dev/vgname/lvname
For iso based virtual disks, I guess it could be the same way, if you are
able to extend the file, what I don't know how to do it.
BR,
Carsten.
----- Originalnachricht -----
Von: Arpan Jindal <jindalarpan@xxxxxxxxx>
Gesendet: Fre, 23.1.2009 09:39
An: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Betreff: [Xen-users] extend hdd in domU
Hi Alli need some information about how i can extend the HDD in domU.
I am a domU having 10GB of disk assigned to it now which is running out of space.is there a way i can assign a other 10GB space to the system in such a way that it appears as a single HDD of 20GB without loss of data.
Thanks
Arpan, As questions get asked repeatedly I'm putting together tutorials. I already had one for resizing Dom0 LVM Volumes for DomUs. I just put together a tutorial for resizing Diskimages. I'm not sure which you need but there they are anyway.
Resize Xen Disk Image - http://www.grantmcwilliams.com/index.php/virtualization/xen-howtos/262-resize-xen-disk-image
Hot Resize LVM Volume - http://www.grantmcwilliams.com/index.php/virtualization/xen-howtos/211-hot-resize-lvm-logical-volumes
If the tutorials don't cover what you wanted let me know so I can add it.
Grant McWilliams
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|