Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

vgextend Max_PE_per_PV error

kijadhav
Occasional Visitor

vgextend Max_PE_per_PV error

Getting below error while doing vgextend. I am having HPUX 11.31; want to increase either max_pe_per_pv or PE size paratmeter online, is it possible?

 

vgextend: Warning: Max_PE_per_PV for the volume group (2303) too small for this PV (2457).
         Using only 2303 PEs from this physical volume.

3 REPLIES
Patrick Wallek
Honored Contributor

Re: vgextend Max_PE_per_PV error

You can try using the 'vgmodify' command.  See 'man vgmodify' for details.

 

To increase the max_pe_per_pv values you can try something like:

 

vgmodify -e 4000 -n /dev/vg02

 

to increase the max pe per pv to 4000.

 

There are other useful examples in the man page as well.

Luis_Penafiel
Occasional Visitor

Re: vgextend Max_PE_per_PV error

Hi,

 

In order to use vgmodify you need to have LVM version 2. With the command lvmadm -l you can see the version of all your VG. If you have VG in version 1.x, you need to migrate (you need 20Mb aprox in each PV)

 

vgchange -a n <vg>

vgversion -v -V 2.2 <vg>

 vgchange -a y <vg>

 

And then ypu can use the command vgmodify -e

 

Greetings

Highlighted
Torsten.
Acclaimed Contributor

Re: vgextend Max_PE_per_PV error

It works with version 1 too.

 

see

 

http://h20565.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docDisplay/resource.process/?spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=docDisplayResURL&javax.portlet.begCacheTok=com.vignette.cachetoken&spf_p.rst_kbDocDisplay=wsrp-resourceState%3DdocId%253Demr_na-c01920387-1%257CdocLocale%253D&javax.portlet.endCacheTok=com.vignette.cachetoken


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!