Vg problem max PV

 
SOLVED
Go to solution
gigiz
Valued Contributor

Vg problem max PV

Hallo ,
I have a problem with my Vg :

--- Volume groups ---
VG Name /dev/vgdb
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 2
Open LV 2
Max PV 41
Cur PV 41
Act PV 41
Max PE per PV 17263
VGDA 82
PE Size (Mbytes) 32
Total PE 88437
Alloc PE 81672
Free PE 6765
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0


I want to say if a parameter "Max PV" can be modify and how to modify it ...

5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: Vg problem max PV

Hi:

Sorry, once a volume group is created, you can't modify its 'pv_max', 'max_pe', 'pe_size' nor 'max_lv' without recreating it. Plan ahead is the axiom here.

Regards!

...JRF...
Doug O'Leary
Honored Contributor
Solution

Re: Vg problem max PV

Hey;

Generally, true; you should pump that parameter up when generating vgs in the first place.

I usually use:

vgcreate -l 255 -p 64 -s 8 -e 10000 ${vg} ${pvs[*]}

That, so far, has given some good flexibility.

All that being said, I have seen several posts that tell about an unsupported HP script that will allow you to modify preexisting vg parameters. You apparently have to open a tt w/HP to get it and then promise you won't sue them if you use it...

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Jeff Schussele
Honored Contributor

Re: Vg problem max PV

Hi,

Sorry - it can't be done.
Once it's set at creation, it's set forever.
The only way to change is backup the data, destroy the VG and rebuild a new one specifically setting the value(s) on the vgcreate command line.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
gigiz
Valued Contributor

Re: Vg problem max PV

OK
I search a unofficial script
elsaesser, thomas
Occasional Contributor

Re: Vg problem max PV

You can use vgmodify tool from HP.
It's an unsupported Tool. I think it's only
supported if a HP stuff do the action with this tool.
see attachment
Kind Regards

Thomas Elsaesser