1836362 Members
2771 Online
110100 Solutions
New Discussion

Max PE per PV

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

Max PE per PV

Can I change the max physical extends per physical volume of an existing volume group ??
I want to add an 18 GB disk to my VG but vgextend keeps telling me that I can only add 8680 MB of this disk because Max PE per PV is 2170 (which results in 8680 MB if multiplied by 4)

He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
5 REPLIES 5
Carlos Fernandez Riera
Honored Contributor

Re: Max PE per PV

No, you cant.

If you need to include 18GB disk in vg00 you will need create a make_recovery tape end then recover your system.

If vg is not vg00 you can create a new vg, copy all data to newvg and then remove oldvg and add disks to new.
unsupported
Varghese Mathew
Trusted Contributor
Solution

Re: Max PE per PV

Hi,

From the man pages of vgcreate:

The default value for max_pe is 1016. However,
if the size of any physical volume exceeds
1016 times the pe_size, the default value for
max_pe is adjusted to match the physical
volume size. The maximum number of physical
extents can be a value in the range 1 to
65535.

So you could have specified the value of max PE per pv using the option "-s" with vgcreate command. Normally System takes the value according to the highest capacity disk available while creating the VG on it.

In short i don't think you have any options apart from doing a re-work on the VG

Hope this helps..
Cheers !!!
MAthew




Cheers !!!
Varghese Mathew
Trusted Contributor

Re: Max PE per PV

Hi Again..

Oooops, i made a mistake the option for specifying max pe size is "-e" with "vgcreate" command, not "-s", wherein "-s" is for changing the "PE size" .

cheers !!!
Mathew
Cheers !!!
eran maor
Honored Contributor

Re: Max PE per PV

 
love computers
Jan Verheijen
Occasional Advisor

Re: Max PE per PV

Very good !!
Live Today