From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id k9K957rH018112 for ; Fri, 20 Oct 2006 05:05:07 -0400 Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.236]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k9K94wsm019517 for ; Fri, 20 Oct 2006 05:05:00 -0400 Received: by qb-out-0506.google.com with SMTP id b14so143054qbc for ; Fri, 20 Oct 2006 02:04:57 -0700 (PDT) Message-ID: Date: Fri, 20 Oct 2006 10:04:57 +0100 From: "Choque Virtual Informations" Subject: Re: [linux-lvm] Question about Physical volume In-Reply-To: <45388202.7070305@nethinks.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29791_2994727.1161335097321" References: <45388202.7070305@nethinks.com> 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: tom@nethinks.com, LVM general discussion and development ------=_Part_29791_2994727.1161335097321 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline HI Thomas I normally create a vg with vgcreate, with these steps: 1) Create the physical volume: pvcreate /dev/sdb pvcreate /dev/sdc 2) Then create the Volume Group: vgcreate vg00 /dev/sdb /dev/sdc 3) Create the lv lvcreate -L 40960M -n lvxpto /dev/vg00 4) then mke2fs -j /dev/vg00/lvxpto 5) This way, if you need more space to create new lv or to extende lvxpto, you nedd to extend the vg00 with vgextend I Hope that this helps you Gon=E7alo 2006/10/20, Thomas Marmetschke : > > Hi, > > is it possible to extend a phyiscal volume? > > I have a strange problem, i resized the /dev/sda4 partion (8e Linux LVM) > from 130GB to 220GB. so far so good. > > But with pvdisplay i still get the 130Gb Partion : > > pvdisplay > --- Physical volume --- > PV Name /dev/sda4 > VG Name msa > PV Size 130,98 GB / not usable 0 > Allocatable yes > PE Size (KByte) 4096 > Total PE 33530 > Free PE 6394 > Allocated PE 27136 > PV UUID TnggaW-0rIL-JaRp-JiwR-ZRlP-JJ83-LOjHfg > > Can i do something like a Rescan? that the Information will be updated. > The big problem is that on this server a productive data so i can=B4t > remove any partions. > > thx! > > -tom > > _______________________________________________ > 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/ > --=20 --=20 Gon=E7alo Jos=E9 do Casal Ribeiro Mendes Ramos System Administrator Choque Virtual - Tecnologias de Informa=E7=E3o Unipessoal, LDA Edificio Colombo I Rua Dr. M=E1rio Sacramento, N=BA 177 1=BAK 3810-106 Aveiro Portugal www.choque-virtual.pt Phone: (+351) 234 194 518 Fax: (+351) 234 194 515 Mobile Phone: (+351) 936 987 583 ------=_Part_29791_2994727.1161335097321 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
HI Thomas
I normally create a vg with vgcreate, with these steps:
1) Create the physical volume:
    = pvcreate /dev/sdb
    pvcreate /dev/sdc
2) Then create the Volume Group:
    = vgcreate vg00 /dev/sdb /dev/sdc=20
3) Create the lv
    = lvcreate -L 40960M -n lvxpto /dev/vg00
4) then mke2fs -j /dev/vg00/lvxpto
5) This way,= if you need more space to create new lv or to extende lvxpto, you nedd to = extend the vg00 with vgextend
 
I Hope that this helps you
Gon=E7alo
 
2006/10/20, Thomas Marmetschke <thomas.marmetschke@nethinks.com= >:
Hi,

is it possible to ext= end a phyiscal volume?

I have a strange problem, i resized the /dev/= sda4 partion (8e Linux LVM)
from 130GB to 220GB. so far so good.

But with pvdisplay i still = get the 130Gb Partion :

pvdisplay
--- Physical volume ---
PV N= ame            =    /dev/sda4
VG Name       =         msa
PV Size   =             130,98 G= B / not usable 0
Allocatable          = yes
PE Size (KByte)       4096
Total P= E            &n= bsp; 33530
Free PE        &= nbsp;      6394
Allocated PE   &= nbsp;      27136
PV UUID   =             TnggaW-0= rIL-JaRp-JiwR-ZRlP-JJ83-LOjHfg

Can i do something like a Rescan? that the Information will be updated.
= The big problem is that on this server a productive data so i can=B4t
re= move any partions.

thx!

-tom

_________________________= ______________________
linux-lvm mailing list
linux= -lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the= LVM HOW-TO at=20 http://tldp.org/HOWTO/LVM-HOWT= O/



--
--
Gon=E7= alo Jos=E9 do Casal Ribeiro Mendes Ramos
System Administrator

Cho= que Virtual - Tecnologias de Informa=E7=E3o Unipessoal, LDA
Edificio Colombo I
Rua Dr. M=E1rio Sacramento, N=BA 177 1=BAK
38= 10-106 Aveiro
Portugal
www.c= hoque-virtual.pt
Phone: (+351) 234 194 518
Fax:   =   (+351) 234 194 515
Mobile Phone: (+351) 936 987 583=20 ------=_Part_29791_2994727.1161335097321--