Operating System - HP-UX
1833053 Members
2592 Online
110049 Solutions
New Discussion

vgmodify to increase PE size

 
SOLVED
Go to solution
dev44
Regular Advisor

vgmodify to increase PE size

I get the following error when trying to vgextend a volume group:

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

Can I use vgmodify to fix this somehow? Here is my vgdisplay:

--- Volume groups ---
VG Name /dev/vgntstxdm
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 16
Open LV 16
Max PV 255
Cur PV 2
Act PV 2
Max PE per PV 3473
VGDA 4
PE Size (Mbytes) 8
Total PE 6942
Alloc PE 6540
Free PE 402
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
whatever
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: vgmodify to increase PE size

You CANNOT increase the PE size (currently 8Mb), but you can increase this:

Max PE per PV 3473

to a higher value.

What is your OS version?

vgmodify comes with 11.31 per default and for 11.23 per patch.

The procedure is as follows

- check
- preview
- assign new values

see

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)

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!   
dev44
Regular Advisor

Re: vgmodify to increase PE size

I seem to have vgmodify already on there. I tried to change the max_pe and got the following error:

vgmodify -e 26049 /dev/vgntstxdm

Current Volume Group settings:
Max LV 255
Max PV 255
Max PE per PV 3473
PE Size (Mbytes) 8
VGRA Size (Kbytes) 7392
vgmodify: VGRA for the disk is too big for the specified
parameters. Decrease max_PVs and/or max_PEs.
whatever
Torsten.
Acclaimed Contributor

Re: vgmodify to increase PE size

the system is trying to reserver space in the config area for 255* ~200GB disks.

Do you really need so much space?
51 Terabyte

;-)

Follow the advice and reduce one or both values.

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

Re: vgmodify to increase PE size

Hi,

if you have HPUX > 11.23 with needed patch level taht support vgmodify, yes you can do you it. But 11.23 you need to deactivate VG, and first PE need to be free, so it's very likely to need to ovmove first PE. You can increate Max number of PE per PV up to 65535.