[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] extend hdd in domU
- To: Carsten Schiers <carsten@xxxxxxxxxx>
- From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
- Date: Fri, 23 Jan 2009 11:26:02 -0800
- Cc: Arpan Jindal <jindalarpan@xxxxxxxxx>, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 23 Jan 2009 11:26:52 -0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OwJxl2k+Ha8elsbjjPsAVGPbiqU+ucWFnr+TG0RNmUiMt0w7DxZuigTfb2W8nflvvT T9//LVQdYSeE7hAcmjtskdsjItx50tXzioqO2eLMm2NW6ZV94X6NBmi/XL1N4c9KIpAG 4yCTUwduBHSbjSmNGRiGHmb5q7gc22S7or/sw=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
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
|