summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2016-05-07 00:36:59 +0100
committerAlasdair G Kergon <agk@redhat.com>2016-05-07 00:36:59 +0100
commite4caf0beebd3718bf77a04905ed2f65712707a5d (patch)
treef1ca554c9f1edd8f5737088b15542b2c7b2ef9a6 /conf
parent1202713f94cb2b0f6f5160d49615f4b839a862a7 (diff)
downloadlvm2-e4caf0beebd3718bf77a04905ed2f65712707a5d.tar.gz
pre-releasev2_02_153
Diffstat (limited to 'conf')
-rw-r--r--conf/example.conf.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in
index a6a6762b4..c34481e9b 100644
--- a/conf/example.conf.in
+++ b/conf/example.conf.in
@@ -299,6 +299,19 @@ devices {
# generally do. If enabled, discards will only be issued if both the
# storage and kernel provide support.
issue_discards = 0
+
+ # Configuration option devices/allow_changes_with_duplicate_pvs.
+ # Allow VG modification while a PV appears on multiple devices.
+ # When a PV appears on multiple devices, LVM attempts to choose the
+ # best device to use for the PV. If the devices represent the same
+ # underlying storage, the choice has minimal consequence. If the
+ # devices represent different underlying storage, the wrong choice
+ # can result in data loss if the VG is modified. Disabling this
+ # setting is the safest option because it prevents modifying a VG
+ # or activating LVs in it while a PV appears on multiple devices.
+ # Enabling this setting allows the VG to be used as usual even with
+ # uncertain devices.
+ allow_changes_with_duplicate_pvs = 0
}
# Configuration section allocation.