master - pre-release
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e4caf0beebd3718bf77a04905ed2f65712707a5d Commit: e4caf0beebd3718bf77a04905ed2f65712707a5d Parent: 1202713f94cb2b0f6f5160d49615f4b839a862a7 Author: Alasdair G Kergon <[email protected]> AuthorDate: Sat May 7 00:36:59 2016 +0100 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Sat May 7 00:36:59 2016 +0100
pre-release
--- VERSION | 2 +- VERSION_DM | 2 +- WHATS_NEW | 4 ++-- WHATS_NEW_DM | 3 --- conf/example.conf.in | 13 +++++++++++++ 5 files changed, 17 insertions(+), 7 deletions(-)
VERSION +1 -1
@@ -1 +1 @@ -2.02.153(2)-git (2016-04-30) +2.02.153(2)-git (2016-05-07)
VERSION_DM +1 -1
@@ -1 +1 @@ -1.02.125-git (2016-04-30) +1.02.124-git (2016-05-07)
WHATS_NEW +2 -2
@@ -1,5 +1,5 @@ -Version 2.02.153 - -================================== +Version 2.02.153 - 7th May 2016 +=============================== Change warning messages related to duplicate PVs. A named device is always processed itself, not switched for a duplicate. Add PV attr "d" and report field "duplicate" for duplicate PVs.
WHATS_NEW_DM +0 -3
@@ -1,6 +1,3 @@ -Version 1.02.125 - -================================== - Version 1.02.124 - 30th April 2016 ================================== Add dm_udev_wait_immediate to libdevmapper for waiting outside the library.
conf/example.conf.in +13 -0
@@ -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.