Operating System - HP-UX
1834463 Members
2670 Online
110067 Solutions
New Discussion

Activate Volume Groupe automatically

 
GNOM
Frequent Advisor

Activate Volume Groupe automatically

HI !!

I created a Volume Group which is correctely
registred in the /etc/lvmtab file. But that volume Group is not activeted automaticaly at system setup. Is it normal? I want this volume group to be activated automatically so help me ! I'm working on HP9000 servers using the hp-ux 11.11 OS

thanks
6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: Activate Volume Groupe automatically

Check your /etc/lvmrc file. If the line AUTO_VG_ACTIVATE=0 then you will have to modify the "custom_vg_activation" section of the file to activate your VG automatically.

The only time I have seen AUTO_VG_ACTIVATE=0 is in an MC/Service Guard environment.
melvyn burnard
Honored Contributor

Re: Activate Volume Groupe automatically

What is the variable AUTO_VG_ACTIVATE set to in your /etc/lvmc file ?
If this is part of a Serviceguard cluster, then this would have been set to 0 to turn off auto activation
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Robert-Jan Goossens
Honored Contributor

Re: Activate Volume Groupe automatically

Hi,

Check in the /etc/lvmrc for next line, should be 1 to autoactivate.

AUTO_VG_ACTIVATE=1

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: Activate Volume Groupe automatically

Check this thread on auto-vg activation, it may apply:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=438329


Pete

Pete
GNOM
Frequent Advisor

Re: Activate Volume Groupe automatically

Ok thanks to All,
the volume group is autotically actived now and I can autotically mount file systems in this VG
thanks !!
A. Clay Stephenson
Acclaimed Contributor

Re: Activate Volume Groupe automatically

Be very careful if all you did was set AUTO_VG_ACTIVATE=1 because if it was set to 0, it is likely that this box is part of an MC/ServiceGuard Cluster. If so, setting AUTO_VG_ACTIVATE=1 will cause chaos within the cluster because the packages themselves do the activation and mounting.

If this is a cluster member, your non-shared VG's should be activated in the custom_vg_activation function in the same file.
If it ain't broke, I can fix that.