Operating System - HP-UX
1827293 Members
3466 Online
109717 Solutions
New Discussion

Activate volumegroups after boot?

 
Andre De koning_2
New Member

Activate volumegroups after boot?

I am busy moving applications from one server to the other, but now it seems
that the newly created volumegroups (on an EMC) are not activated after reboot.
In the rc.log-file I get mount errors because the volumegroups are not
activated.

After I give the command 'vgchange -a y' and 'mountall' all goes well, but I
want things to be online after reboot without hands-on and without having to
mess in the /sbin/init.d/localmount script (which says it is not configurable
anyway).

What am I overlooking? Thanks for any advice!
2 REPLIES 2
Melvyn Burnard_1
Regular Advisor

Re: Activate volumegroups after boot?

What does your /etc/lvmrc file say?
If it has the AUTO_VG_ACTIVATE= line set to 0, it will not auto activate all
VGs ( as in a ServiceGuard node).
If this is set to 0, then you need to specify the VG's in the
custom_vg_activation() function.
Andre De koning_2
New Member

Re: Activate volumegroups after boot?

You're right, AUTO_VG_ACTIVATE was set to 0.

The system has been part of a SG cluster, so I guess that's why it has been
changed (but the people who have worked on that are gone now).

Thanks for your help!