summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-06-26 06:17:23 -0400
committerPeter Rajnoha <prajnoha@redhat.com>2012-06-28 09:44:07 -0400
commitf6a3ef4490ebcb2318fd98e79add2c910cf482c5 (patch)
treeb6e2ec2d165fb5b9dc1db2af4865f00796f48fec
parenta2f4ccd83907590d16e6d06e1aea7e70efcf1fe5 (diff)
downloadlvm2-f6a3ef4490ebcb2318fd98e79add2c910cf482c5.tar.gz
lvm2-f6a3ef4490ebcb2318fd98e79add2c910cf482c5.tar.xz
lvm2-f6a3ef4490ebcb2318fd98e79add2c910cf482c5.zip
conf: add activation/auto_activation_volume_list
-rw-r--r--WHATS_NEW1
-rw-r--r--doc/example.conf.in9
2 files changed, 10 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 152ec08a..842a1889 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
diff --git a/doc/example.conf.in b/doc/example.conf.in
index 9092e32f..4864b817 100644
--- a/doc/example.conf.in
+++ b/doc/example.conf.in
@@ -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