summaryrefslogtreecommitdiff
path: root/conf/example.conf.in
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2014-09-30 11:39:07 +0200
committerPetr Rockai <prockai@redhat.com>2014-09-30 11:39:07 +0200
commitfbc28cc7adb453122b83a18361809152bdee263f (patch)
treea893576eee5ab920b14e403ea5c5ea11ab0a3ad2 /conf/example.conf.in
parent9f3c11b39acc4252d6d40ae040319f66f9060a75 (diff)
downloadlvm2-fbc28cc7adb453122b83a18361809152bdee263f.tar.gz
conf: Update comments on lvmetad+filters in example.conf.in.
Diffstat (limited to 'conf/example.conf.in')
-rw-r--r--conf/example.conf.in35
1 files changed, 20 insertions, 15 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in
index 511ca0b88..dd1d066eb 100644
--- a/conf/example.conf.in
+++ b/conf/example.conf.in
@@ -678,26 +678,31 @@ global {
# If lvmetad has been running while use_lvmetad was 0, it MUST be stopped
# before changing use_lvmetad to 1 and started again afterwards.
#
- # If using lvmetad, the volume activation is also switched to automatic
+ # If using lvmetad, volume activation is also switched to automatic
# event-based mode. In this mode, the volumes are activated based on
- # incoming udev events that automatically inform lvmetad about new PVs
- # that appear in the system. Once the VG is complete (all the PVs are
- # present), it is auto-activated. The activation/auto_activation_volume_list
- # setting controls which volumes are auto-activated (all by default).
- #
+ # incoming udev events that automatically inform lvmetad about new PVs that
+ # appear in the system. Once a VG is complete (all the PVs are present), it
+ # is auto-activated. The activation/auto_activation_volume_list setting
+ # controls which volumes are auto-activated (all by default).
+
# A note about device filtering while lvmetad is used:
- # When lvmetad is updated (either automatically based on udev events
- # or directly by pvscan --cache <device> call), the devices/filter
- # is ignored and all devices are scanned by default. The lvmetad always
- # keeps unfiltered information which is then provided to LVM commands
- # and then each LVM command does the filtering based on devices/filter
- # setting itself.
- # To prevent scanning devices completely, even when using lvmetad,
- # the devices/global_filter must be used.
+
+ # When lvmetad is updated (either automatically based on udev events or
+ # directly by a pvscan --cache <device> call), devices/filter is ignored and
+ # all devices are scanned by default -- lvmetad always keeps unfiltered
+ # information which is then provided to LVM commands and then each LVM
+ # command does the filtering based on devices/filter setting itself. This
+ # does not apply to non-regexp filters though: component filters such as
+ # multipath and MD are checked at pvscan --cache time.
+
+ # In order to completely prevent LVM from scanning a device, even when using
+ # lvmetad, devices/global_filter must be used.
+
# N.B. Don't use lvmetad with locking type 3 as lvmetad is not yet
# supported in clustered environment. If use_lvmetad=1 and locking_type=3
# is set at the same time, LVM always issues a warning message about this
- # and then it automatically disables lvmetad use.
+ # and then it automatically disables use_lvmetad.
+
use_lvmetad = 0
# Full path of the utility called to check that a thin metadata device