Operating System - HP-UX
1825771 Members
2124 Online
109687 Solutions
New Discussion

How to change the maxpe size in online VG

 
SOLVED
Go to solution
rajv
Advisor

How to change the maxpe size in online VG

How to change the Max PE value in online(used) volume group.
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: How to change the maxpe size in online VG

Shalom,

In hp-ux 11.31 you can use vgchange.

Other versions of hp-ux you must vgexport, and vgcreate and vgimport the volume group. Have to start over. -s parameter of vgcreate.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: How to change the maxpe size in online VG

Sorry, but vgimporting is just going to put it back like it was. You'll need to recreate it using vgcreate, then restore your data.


Pete

Pete
rajv
Advisor

Re: How to change the maxpe size in online VG

Hi Shalom,

Hi,

I think its vgmodify.

-s option is Per PE size.
-e option is Max PE size.

- VRS -

Torsten.
Acclaimed Contributor

Re: How to change the maxpe size in online VG

See

http://docs.hp.com/en/vgmodify/vgmodify_wp_modified_final.pdf

...
Online vgmodify is supported starting 11i v3 September 2008 release onwards....

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!   
Torsten.
Acclaimed Contributor
Solution

Re: How to change the maxpe size in online VG

For LVM version 2.x see

http://docs.hp.com/en/lvm-v2/L2_whitepaper_8.pdf

...
â e max_pe is not needed for 2.x volume groups because the 2.x metadata format is provisioned so that the
number of physical extents can always grow to the maximum size specified with â S.
...

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!   
rajv
Advisor

Re: How to change the maxpe size in online VG

Thanks for quick reply...
rajv
Advisor

Re: How to change the maxpe size in online VG

Thanks for all...