From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.8]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9NFxbhA014497 for ; Fri, 23 Oct 2009 11:59:37 -0400 Received: from mail-vw0-f202.google.com (mail-vw0-f202.google.com [209.85.212.202]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9NFxINd012835 for ; Fri, 23 Oct 2009 11:59:18 -0400 Received: by vws40 with SMTP id 40so335908vws.23 for ; Fri, 23 Oct 2009 08:59:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <29ae894c0910230838o755803d9td6211d953ac343e5@mail.gmail.com> References: <29ae894c0910230838o755803d9td6211d953ac343e5@mail.gmail.com> Date: Fri, 23 Oct 2009 10:59:18 -0500 Message-ID: Subject: Re: [linux-lvm] How do I use free PE? From: Rod Rook Content-Type: multipart/alternative; boundary=0016e68e8acd5c4f4204769c4bb2 Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --0016e68e8acd5c4f4204769c4bb2 Content-Type: text/plain; charset=ISO-8859-1 Thank you for your reply. I was thinking of using Gnome parted, but I wanted to check to see if it can be used with LVM2 partitions. On Fri, Oct 23, 2009 at 10:38 AM, brem belguebli wrote: > Hi, > > your underlying disk /dev/sdb2 cannot be part of more than one volume > group, it'll have to be under VolGroup00. > > When you say I don't want to add it to VolGroup00, you may be > confusing some concepts. > > You certainly don't want to add free space under / (which is a > filesystem) on top of a Logical Volume (LogVol0) which itself is built > on top of your VolGroup00, isn't it ? > > If so, you can create a new Logical volume (let's say > logvolgeneralstorage, man lvcreate) on top of VolGroup00 which will be > mounted on /otherstroragethanslash. > > Everything is in the man pages (lvcreate, lvs, lvdisplay, mke[234]fs, > fstab) > > 2009/10/23 Rod Rook : > > I've installed Fedora 10 on a 250GB SATA hard drive. > > I want to use the unused portion (free PE= 4378, about 140GB), but I > don't > > know how I go about doing it. > > I don't want to add it to VolGroup00, but I want it made accessible as a > > general storage space. > > > >> > >> [root@localhost Documents]# pvdisplay /dev/sdb2 > > > > --- Physical volume --- > > PV Name /dev/sdb2 > > VG Name VolGroup00 > > PV Size 232.69 GB / not usable 4.58 MB > > Allocatable yes > > PE Size (KByte) 32768 > > Total PE 7446 > > Free PE 4376 > > Allocated PE 3070 > >> > >> PV UUID DBf14Y-SLFe-cwZy-m1O7-3Jw9-Xhdf-3u42iX > >> > > > > _______________________________________________ > > linux-lvm mailing list > > linux-lvm@redhat.com > > https://www.redhat.com/mailman/listinfo/linux-lvm > > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > > > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > --0016e68e8acd5c4f4204769c4bb2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you for your reply. I was thinking of using Gnome parted, but I wanted to check to see if it can be used with LVM2 partitions.

On Fri, Oct 23, 2009 at 10:38 AM, brem belguebli= <brem.bel= guebli@gmail.com> wrote:
Hi,

your underlying disk /dev/sdb2 cannot be part of more than one volume
group, it'll have to be under VolGroup00.

When you say I don't want to add it to VolGroup00, you may be
confusing some concepts.

You certainly don't want to add free space under / (which is a
filesystem) on top of a Logical Volume (LogVol0) which itself is built
on top of your VolGroup00, isn't it ?

If so, you can create a new Logical volume (let's say
logvolgeneralstorage, man lvcreate) on top of VolGroup00 which will be
mounted on /otherstroragethanslash.

Everything is in the man pages (lvcreate, lvs, lvdisplay, mke[234]fs, fstab= )

2009/10/23 Rod Rook <rod.rook@gmai= l.com>:
> I've installed Fedora 10 on a 25= 0GB SATA hard drive.
> I want to use the unused portion (free PE=3D 4378, about 140GB), but I= don't
> know how I go about doing it.
> I don't want to add it to VolGroup00, but I want it made accessibl= e as a
> general storage space.
>
>>
>> [root@localhost Documents]# pvdisplay /dev/sdb2
>
> =A0 --- Physical volume ---
> =A0 PV Name=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /dev/sdb2
> =A0 VG Name=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 VolGroup00
> =A0 PV Size=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 232.69 GB / not = usable 4.58 MB
> =A0 Allocatable=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 yes
> =A0 PE Size (KByte)=A0=A0=A0=A0=A0=A0 32768
> =A0 Total PE=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 7446
> =A0 Free PE=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 4376
> =A0 Allocated PE=A0=A0=A0=A0=A0=A0=A0=A0=A0 3070
>>
>> =A0 PV UUID=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 DBf14Y-SLFe-= cwZy-m1O7-3Jw9-Xhdf-3u42iX
>>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

--0016e68e8acd5c4f4204769c4bb2--