Operating System - HP-UX
1829712 Members
2521 Online
109992 Solutions
New Discussion

way to change max PV value ?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

way to change max PV value ?

HP-UX hohp120 B.11.11 U 9000/800/A500-7X

##################################
Hello HP,
I need to add drives to vg01, but I have reached max_pv value of 18. Is there a way to extend this value ?

##################################
# vgdisplay -v /dev/vg01 | more
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 6
Open LV 6
Max PV 18
Cur PV 18
Act PV 18
Max PE per PV 10790
VGDA 36
PE Size (Mbytes) 64
Total PE 12132
Alloc PE 12119
Free PE 13
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: way to change max PV value ?

No, max PV is set upon vgcreate. This is why careful planning is important.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: way to change max PV value ?

Hi Jerry:

You could try opening a case with HP. I believe that there is an unsupported utility that may be able to munge the LVM headers.

Otherwise, you will need to recreate the volume group from scratch, providing appropriate arguments for your immediate and future expectations. See the manpages for 'vgcreate'.

Regards!

...JRF...
Geoff Wild
Honored Contributor

Re: way to change max PV value ?

Recreate from scratch I'm afraid with the -p to set number of pv's:

vgcreate -s 64 -p 128


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.