Operating System - HP-UX
1834704 Members
2759 Online
110069 Solutions
New Discussion

Dynamically Change MAX PV allowed for a VG

 
SOLVED
Go to solution
Fern H2O
Frequent Advisor

Dynamically Change MAX PV allowed for a VG

Hello All,

I have a quick question. Is there any way to dynamically change the MAX PV allowed for a VG? Or do I have to fully recreate a new VG with new specifications??
Example:

VG Name /dev/vg08
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 23
Open LV 23
Max PV 16
Cur PV 16
Act PV 16

I want to make MAX PV 64. Is there a way to do this W/O having to recreate a whole new VG??

THanks in advance!
5 REPLIES 5
Fern H2O
Frequent Advisor

Re: Dynamically Change MAX PV allowed for a VG

BTW.

I'm running on an Itanium HP-UX 11.23 box.
Rita C Workman
Honored Contributor
Solution

Re: Dynamically Change MAX PV allowed for a VG

Each version offers different LVM options.

This doc should help you (vgmodify):

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

/rcw
James R. Ferguson
Acclaimed Contributor

Re: Dynamically Change MAX PV allowed for a VG

Hi:

You can use the new 'vgmodify' command in lieu of recreating the volume group.

If you are running 11.31 you have the command. If you are running 11.23 you need patch PHCO_38717.

If your are running anything less than 11.23 you need to recreate the volume group from scratch.

Regards!

...JRF...
Sunny123_1
Esteemed Contributor

Re: Dynamically Change MAX PV allowed for a VG

Hi

You can use vgmodify command for that you need patch PHCO_38717.Then use man command to know in details.

Regards
Sunny
Fern H2O
Frequent Advisor

Re: Dynamically Change MAX PV allowed for a VG

Thank You Rita & James, You 2 nailed it!

I read the manual and I would really LOVE to test out that command vgmodify, hopefully management won't think it's to risky.

Thanks Again!