From f6a3ef4490ebcb2318fd98e79add2c910cf482c5 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Tue, 26 Jun 2012 06:17:23 -0400 Subject: [PATCH] conf: add activation/auto_activation_volume_list --- WHATS_NEW | 1 + doc/example.conf.in | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/WHATS_NEW b/WHATS_NEW index 152ec08a4..842a1889f 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 9092e32f7..4864b817f 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 -- 2.43.5