master - conf: add activation/auto_activation_volume_list
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f6a3ef4490ebcb2318fd98e79add2c910cf482c5 Commit: f6a3ef4490ebcb2318fd98e79add2c910cf482c5 Parent: a2f4ccd83907590d16e6d06e1aea7e70efcf1fe5 Author: Peter Rajnoha <[email protected]> AuthorDate: Tue Jun 26 06:17:23 2012 -0400 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Jun 28 09:44:07 2012 -0400
conf: add activation/auto_activation_volume_list
--- WHATS_NEW | 1 + doc/example.conf.in | 9 +++++++++ 2 files changed, 10 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.97 - =============================== + Add activation/auto_activation_volume_list to lvm.conf. Add --activate ay to lvcreate. Add --activate ay to lvchange. Add --activate ay to pvscan.
doc/example.conf.in +9 -0
@@ -550,6 +550,15 @@ activation { # # volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ] + # If auto_activation_volume_list is defined, each LV that is to be activated + # is checked against the list while using the --autoactivate option, and if + # it matches, it is activated. + # "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 + # + # auto_activation_volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ] + # If read_only_volume_list is defined, each LV that is to be activated # is checked against the list, and if it matches, it as activated # in read-only mode. (This overrides '--permission rw' stored in the