WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] extend hdd in domU

To: Carsten Schiers <carsten@xxxxxxxxxx>
Subject: Re: [Xen-users] extend hdd in domU
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=zJDAsyON9+QRdCG/qh7CLGsy0oTWomK5LbS80D03Nuk=; b=MlOYuH7GxOIAmvXUtr4oprLsTsO6ll/+LBvUiyFQ7t29przv9dw/SkC38UZQSIupqJ rQlr0eEvbgu4Hl9HllA2OZecJ+bKdBClhHUq7jsSS38O1pTJ91bA3OYLQQlZx5PNp7se 0+mobQ0rJ2GiNRtH9DtMrKVRqXQXUZ/Bjcpb0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1361869.171232702345701.JavaMail.root@uhura>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1361869.171232702345701.JavaMail.root@uhura>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


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
<Prev in Thread] Current Thread [Next in Thread>