[linux-lvm] Question about Physical volume
Choque Virtual Informations
info.choquevirtual at gmail.com
Fri Oct 20 09:04:57 UTC 2006
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çalo
2006/10/20, Thomas Marmetschke <thomas.marmetschke at nethinks.com>:
>
> 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´t
> remove any partions.
>
> thx!
>
> -tom
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
--
--
Gonçalo José do Casal Ribeiro Mendes Ramos
System Administrator
Choque Virtual - Tecnologias de Informação Unipessoal, LDA
Edificio Colombo I
Rua Dr. Mário Sacramento, Nº 177 1ºK
3810-106 Aveiro
Portugal
www.choque-virtual.pt
Phone: (+351) 234 194 518
Fax: (+351) 234 194 515
Mobile Phone: (+351) 936 987 583
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20061020/872d4f63/attachment.htm>
More information about the linux-lvm
mailing list