HP Serviceguard for Linux Version A.11.16 Release Notes, Third Edition, August 2006
Serviceguard for Linux Version A.11.16 Release Notes
Compatibility Information and Installation Requirements
Chapter 146
# LVM initialization
if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ];
then
action $"Setting up LVM:" /sbin/vgscan && /sbin/vgchange -a y
fi
Commenting out these lines will prevent vgscan from removing the old
volume group device files, and prevent automatic volume group
activation on boot.
NOTE If you have volume groups that are not under Serviceguard control, you
should explicitly activate them in the sysinit file as in the following
example:
vgchange -a y /dev/vg00
vgchange -a y /dev/vg01
Red Hat 4
It is not necessary to prevent vgscan on RedHat 4.
To deactivate any volume groups that will be under Serviceguard control,
add vgchange commands to the end of /etc/rc.d/rc.sysinit; for
example, if volume groups sgvg00 and sgvg01 are under Serviceguard
control, add the following lines to the end of the file:
vgchange -a n /dev/sgvg00
vgchange -a n /dev/sgvg01
The vgchange commands activate the volume groups temporarily, then
deactivate them; this is expected behavior.