2019-09-30 11:03:04 -04:00
|
|
|
diff --git a/conf/example.conf.in b/conf/example.conf.in
|
2021-11-22 16:14:59 +08:00
|
|
|
index 245973a..3d08b30 100644
|
2019-09-30 11:03:04 -04:00
|
|
|
--- a/conf/example.conf.in
|
|
|
|
|
+++ b/conf/example.conf.in
|
2021-11-22 16:14:59 +08:00
|
|
|
@@ -393,8 +393,7 @@ devices {
|
2019-09-30 11:03:04 -04:00
|
|
|
# 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.
|
2021-11-22 16:14:59 +08:00
|
|
|
- # This configuration option has an automatic default value.
|
|
|
|
|
- # allow_changes_with_duplicate_pvs = 0
|
2019-09-30 11:03:04 -04:00
|
|
|
+ allow_changes_with_duplicate_pvs = 1
|
|
|
|
|
|
2020-07-16 14:44:15 +08:00
|
|
|
# Configuration option devices/allow_mixed_block_sizes.
|
|
|
|
|
# Allow PVs in the same VG with different logical block sizes.
|
2019-09-30 11:03:04 -04:00
|
|
|
diff --git a/lib/config/defaults.h b/lib/config/defaults.h
|
2021-11-22 16:14:59 +08:00
|
|
|
index 1b1568a..4d6d40f 100644
|
2019-09-30 11:03:04 -04:00
|
|
|
--- a/lib/config/defaults.h
|
|
|
|
|
+++ b/lib/config/defaults.h
|
2020-07-16 14:44:15 +08:00
|
|
|
@@ -56,7 +56,7 @@
|
2019-09-30 11:03:04 -04:00
|
|
|
#define DEFAULT_DATA_ALIGNMENT_DETECTION 1
|
|
|
|
|
#define DEFAULT_ISSUE_DISCARDS 0
|
|
|
|
|
#define DEFAULT_PV_MIN_SIZE_KB 2048
|
|
|
|
|
-#define DEFAULT_ALLOW_CHANGES_WITH_DUPLICATE_PVS 0
|
|
|
|
|
+#define DEFAULT_ALLOW_CHANGES_WITH_DUPLICATE_PVS 1
|
|
|
|
|
|
|
|
|
|
#define DEFAULT_LOCKING_LIB "liblvm2clusterlock.so"
|
|
|
|
|
#define DEFAULT_ERROR_WHEN_FULL 0
|
2021-11-22 16:14:59 +08:00
|
|
|
--
|
|
|
|
|
1.8.3.1
|
|
|
|
|
|