Prevent automatic volume group activatation at boot time
How to prevent automatic volume group activatation at boot time?
Red Hat Enterprise Linux
In /etc/lvm/lvm.conf file add
volume_list = [ "vg1" ]
Which means only vg1 out of may vg's is activated at the time of booting. Other vg's will remain deactivated.
-- snip from /etc/lvm/lvm.conf --
# If volume_list is defined, each LV is only activated if there is a # match against the list. # "vgname" and "vgname/lvname" are matched exactly. # "@tag" matches any tag set in the LV or VG. # "@*" matches if any tag defined on the host is also set in the LV or VG # # volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]