System Administration
Showing results for 
Search instead for 
Do you mean 

HPUX - 11iv2 and using vgmodify

Super Advisor

HPUX - 11iv2 and using vgmodify

I had an earlier thread on this issue but want to re-address it.
I have a 11iv2 host and I want to increase the max_pv. The VG is in exclusive status (and is part of a serviceguard package).
here my understanding as I reading a document on this and the steps to run
1. vgchange -c n /dev/vggroup
2. vgmodify -p xxxx /dev/vggroup
3. vgchange -c y /dev/vggroup

I think the vgmodify will de-activate the vggroup (vgchange -a n ..) then reactive it when done??!!

Anyone clarify the steps??!
9 REPLIES
Respected Contributor [Founder]

Re: HPUX - 11iv2 and using vgmodify

attached is a good document from HP
Honored Contributor [Founder]

Re: HPUX - 11iv2 and using vgmodify

Hi,

no you must manually de-activate by halting package.

> first halt the package that uses vg.
1. vgchange -c n /dev/vggroup
2. vgmodify -p xxxx /dev/vggroup
3. vgchange -c y /dev/vggroup
> run the package.
Computers have lots of memory but no imagination
Super Advisor

Re: HPUX - 11iv2 and using vgmodify

Thanks Kenan...
I see what you are saying..
Does the VGMODIFY deactivate/reactivate with LVM (vgchange -a n/y)as part of its process??
Honored Contributor [Founder]

Re: HPUX - 11iv2 and using vgmodify

No, it does not. as you are using hp-ux v2 you must halt the package, you cannot do this online.
Computers have lots of memory but no imagination
Honored Contributor [Founder]

Re: HPUX - 11iv2 and using vgmodify

>SASJ put a good document, I also want to address a full vgmodify document;
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html


-p max_pv

Set the maximum number of physical volumes that the volume group is allowed to contain (see vgcreate(1M) -p). The maximum number of physical volumes can range from the current number of physical volumes in the volume group to 255.

The -t option displays a table of possible max_pv values for vg_name.

Respected Contributor [Founder]

Re: HPUX - 11iv2 and using vgmodify

when a package is halted the lvols are umounted and vg is deactivated as part of halting the package.
Super Advisor

Re: HPUX - 11iv2 and using vgmodify

Thanks to all..
WIll plan my changes accordingly.
Document is very helpful.
Acclaimed Contributor [Founder]

Re: HPUX - 11iv2 and using vgmodify

[ Edited ]

>I had an earlier thread on this issue but want to re-address it.

Your previous thread:
http://h30499.www3.hp.com/t5/System-Administration/Vgmodify-HPUX-11iv2-systems/m-p/5257124

Super Advisor

Re: HPUX - 11iv2 and using vgmodify

i was able to document your info and refer to the HP document that you supplied..thanks