Summery: /etc/init.d/netfs scripts will activate all the VGs in the system by the command 'vgchange -ay'. There is no way to configure VGs not to activate. More info: I'd like this feature due to a Cluster I have, with two server sharing a disk. I want don't want the VGs to be activated at the system startup. I prefer the cluster daemon (Service Guard in my case) to do the activation on one of the nodes. For that I need a way to have the init scripts read some config file (/etc/lvm/lvmtab ?) for the list of VGs to activate. I've tried using the option for this in /etc/lvm/lvm.conf, but that option disables the use of the VG until the file is edited again. Thanks
This is the same command that's in rc.sysinit - I'm not sure there's a particular simple change that could solve this. Long term, you'd probably want a storage daemon that listens to storage hotplug events and then knows what LVs, VGs, etc. to activate, but that's a long ways off.
With the goal of minimizing risk of change for deployed systems, and in response to customer and partner requirements, Red Hat takes a conservative approach when evaluating changes for inclusion in maintenance updates for currently deployed products. There's really not a good way to fix this simply.