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] How to expand LVM without create new drive?

To: Wendy William <kotakomputer@xxxxxxxxx>
Subject: Re: [Xen-users] How to expand LVM without create new drive?
From: Diego Dave <diego.dave.s@xxxxxxxxx>
Date: Wed, 31 Aug 2011 13:31:33 -0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Aug 2011 09:33:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=+9336Qwx5RpxszLCtwYhELUfmu+Ez+HWsJsk7bKV9wo=; b=QV6SbKPLTa9b7SdoVLVBm4iALLcK5mJfDZY0ugpjbSVcjFRJu7PzTH9tcWYnpeaSAH GuHBd3l08qJ0PsM9B8GEXzo/d+GQIBC32K/5lZImMLu72uzG7nj0ivtwrXZIB3SOjlDd tBdCVbCCPw5SFCodSSlkUGctxezFGwUT/B3r8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1314807313.59930.YahooMailRC@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <1314807313.59930.YahooMailRC@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Wendy,

Have you tried lvextend command? Type "lvextend --help" to see how to use this.

Remember that the LVM have 3 levels, physical volumes (PV), volume
groups (VG) and logical volumes (LV).

If you need rezise the partition, firstly you must resize or "extend"
the LV. After that, you should resize the filesystem of the partition
(ext3 filesystem supports live resizing).

Regards,

Diego

2011/8/31 Wendy William <kotakomputer@xxxxxxxxx>:
> I now how to expand a LVM by creating a new drive as described here:
> http://lists.centos.org/pipermail/centos/2007-February/032664.html, the steps
> are:
>
> # pvcreate /dev/sda3
> # vgextend VolGroup00 /dev/sda3
>
> Now, I want to know how to expand a LVM without create /dev/sda3?
>
> Suppose I have 2 GB free (unpartitioned) and LVM use /dev/sda2 (8 GB). How to
> make /dev/sda2 become 10 GB? Then resize LVM to 10 GB.
>
>  Regards, Wendy
>
>
> _______________________________________________
> 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

<Prev in Thread] Current Thread [Next in Thread>