The parameter AUTO_VG_ACTIVATE in file /etc/lvmrc should be set to 0.
Include all the volume groups that are not cluster-related in the custom_vg_activation function, e.g. VG01 and VG02.
/sbin/vgchange -a y -s /dev/vg01
/sbin/vgchange -a y -s /dev/vg02
parallel_vg_sync "/dev/vg01 /dev/vg02"
Note: Volume groups that will be used by packages should not be included anywhere in the file, since they will be activated and deactivated by control scripts for the package.
The root volume group does not need to be included in the custom_vg_activation function, because it is automatically activated before the /etc/lvmrc file is used at boot time.
No comments:
Post a Comment