System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

respond me immediate reg vgextend

 
SOLVED
Go to solution
S.S.
Super Advisor

respond me immediate reg vgextend

Hi All,

The PV /dev/dsk/c10t1d5 is of 100gb capacity. when i tried to extend the volume group i have received the following message. This is not utilizing the 100gb size.

Kindly recommend me what are the steps i should perform.


# vgextend /dev/Test_vgworking /dev/dsk/c10t1d5
vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (3199).
Using only 1016 PEs from this physical volume.
Current path "/dev/dsk/c14t1d0" is an alternate link, skip.
Current path "/dev/dsk/c16t1d0" is an alternate link, skip.
Current path "/dev/dsk/c18t1d0" is an alternate link, skip.
Current path "/dev/dsk/c4t1d0" is an alternate link, skip.
Current path "/dev/dsk/c6t1d0" is an alternate link, skip.
Current path "/dev/dsk/c8t1d0" is an alternate link, skip.
Current path "/dev/dsk/c10t1d0" is an alternate link, skip.
Volume group "/dev/Test_vgworking" has been successfully extended.
Volume Group configuration for /dev/Test_vgworking has been saved in /etc/lvmconf/Test_vgworking.conf
9 REPLIES
Michael Steele_2
Honored Contributor

Re: respond me immediate reg vgextend

Hi

You have to make a new volume group. Your current vg's LVM header has only 1016 PE's or physical extents. And it clearly calculates how many PE's your new PV needs, 3199.

"..vgextend: Warning: Max_PE_per_PV for the volume group (1016) too small for this PV (3199)..."

Support Fatherhood - Stop Family Law
S.S.
Super Advisor

Re: respond me immediate reg vgextend

Now is it possible to reconfigure the PE size?
Kapil Jha
Honored Contributor

Re: respond me immediate reg vgextend

By default when u create VG, maximum number of PE is 1016.
so if u have PE Size as 32 maximum size u can use in this disk is
32*1016=31G

and this is what is happening so you have to recreate the VG with high parameter

man vgcreate
-e max_pe increase it to some other number
-s PE size u can have big PE size if u have small number of max PE.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Johnson Punniyalingam
Honored Contributor
Solution

Re: respond me immediate reg vgextend

Hi SS,

>>Now is it possible to reconfigure the PE size?<<

NO,

Hope I have answered this Question, on the earlier do you remember, Hence you running HPUX 11.11 you can't change "PE = Size"

if its HPUX 11.31 -> you can use vgmodify command to change it.

in your case , you need to "recreate vg" no choice.
Problems are common to all, but attitude makes the difference
Michael Steele_2
Honored Contributor

Re: respond me immediate reg vgextend

HI

"...Now is it possible to reconfigure the PE size?..."

Now? No. When your use the vgcreate command, yes.
Support Fatherhood - Stop Family Law
AVV
Super Advisor

Re: respond me immediate reg vgextend

Hi,


This is something you would have noticed before you create any VGs. Max PE/PV :)

Anyway, it is possible to amend the same on HPUX 11iV3 only but not on any below. I would prefer to have a backup on all the VG/LV and recreate the VG as required.

S.S.
Super Advisor

Re: respond me immediate reg vgextend

Thank You Johnson.

I have asked the DBA team to take a backup for these files and later i will recreate the vg with the "-e max_pe" and " -s pe_size" options.

Thank you All for responding to my thread.

I will assign points now and will close the thread.
S.S.
Super Advisor

Re: respond me immediate reg vgextend

will recreate the vg.
AVV
Super Advisor

Re: respond me immediate reg vgextend

If I am right, 65532 is the maximum PE/PV ,ie if your PE size is 4MB, you can have maximum of 65532*4 MB in use of a disk.