1832592 Members
3206 Online
110043 Solutions
New Discussion

vg01 is not active

 
SOLVED
Go to solution
Thomas Kopp
Occasional Advisor

vg01 is not active

Moin,
small problem, but ...
After a system reboot, the vg01 is not active and of course all files releated to vg01 are not mounted.
(I use then vgchange -a y vg01 and
mount -a)
How can I change this issue.
Thanks Thomas
9 REPLIES 9
melvyn burnard
Honored Contributor

Re: vg01 is not active

was any error logged in /etc/rc?
do you have hte /etc/lvmrc file changed to stop auto activation of any vg's?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Massimo Bianchi
Honored Contributor

Re: vg01 is not active

Hi,
edit /etc/lvmrc and put it to 1 !

Eception: if you have mcgs software installed, this is the correct behaviour. In that case you must change

custom_vg_activation()


and put a nice vgchange -a y vg01

there.

Massimo
Bill Hassell
Honored Contributor

Re: vg01 is not active

All Volume groups should be automatically activated during a reboot. This occurs in the script /sbin/lvmrc which is called by /sbin/bcheckrc. However, something went wrong during activation. Look in /var/adm/syslog/syslog.log and /etc/rc.log to see if anything occurred. The error messages would also have been on your console screen.


Bill Hassell, sysadmin
Thomas Kopp
Occasional Advisor

Re: vg01 is not active

Hi Massimo,

yes it is running in cluster mode.

custom_vg_activation()
Is this a command ?

Thanks
Thomas




Massimo Bianchi
Honored Contributor
Solution

Re: vg01 is not active

Hi,
it is in the /etc/lvmrc.

There is also an explanation of how to use it.

Massimo
Tim Adamson_1
Honored Contributor

Re: vg01 is not active

Hi Thomas,

One possibility for vg01 failing to activate is if the number of disks available in the volume group failed to reach quorum.

Check for any errors in the startup log files.


Cheers!
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
melvyn burnard
Honored Contributor

Re: vg01 is not active

This says you are running this node in a ServiceGuard cluster.
Is vg01 a package vg? i.e. shared?
or is it a vg that is only meant to run on this node?
If it is a shared vg. activated by a package, then when the package starts it will activate the vg and mount hte file systems, and there shoul dbe no entries for this vg in /etc/fstab
If the second option then ensure you add in vg01 to the /etc/lmvrc script.
Look at the section (function) called custom_vg_activation()
Just above the line :
return 0
insert
vgchange -a y /dev/vg01
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Pete Randall
Outstanding Contributor

Re: vg01 is not active

Thomas,

Check this thread concerning custom activation:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x26589c196a4bd71190080090279cd0f9,00.html


Pete


Pete
Ravi_8
Honored Contributor

Re: vg01 is not active

Hi,

set the AUTO_VG_ACTIVATE flag to 1 in /etc/lvmrc
never give up