[pve-devel] [PATCH lvm] disable use_lvmetad by default

Dominik Csapak d.csapak at proxmox.com
Mon Jul 24 09:21:45 CEST 2017


the default in the example config changed from

use_lvmetad = 0

to

use_lvmetad = @DEFAULT_USE_LVMETAD@

which is controlled by the configure script (and enabled by default)

this had the effect that iscsi/lvm setups did not work correctly anymore

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 patchdir/0003-disable-use-lvmetad.patch | 12 ++++++++++++
 patchdir/series                         |  1 +
 2 files changed, 13 insertions(+)
 create mode 100644 patchdir/0003-disable-use-lvmetad.patch

diff --git a/patchdir/0003-disable-use-lvmetad.patch b/patchdir/0003-disable-use-lvmetad.patch
new file mode 100644
index 0000000..f88bfeb
--- /dev/null
+++ b/patchdir/0003-disable-use-lvmetad.patch
@@ -0,0 +1,12 @@
+Index: LVM2.2.02.168/debian/rules
+===================================================================
+--- LVM2.2.02.168.orig/debian/rules
++++ LVM2.2.02.168/debian/rules
+@@ -92,6 +92,7 @@ $(STAMPS_DIR)/setup_deb: $(STAMPS_DIR)/s
+ 		--enable-cmirrord \
+ 		--enable-dmeventd \
+ 		--enable-lvmetad \
++		--disable-use-lvmetad \
+ 		--enable-lvmpolld \
+ 		--enable-pkgconfig \
+ 		--enable-readline \
diff --git a/patchdir/series b/patchdir/series
index e6d1b8c..04c3677 100644
--- a/patchdir/series
+++ b/patchdir/series
@@ -1,2 +1,3 @@
 0001-filter-zvols-and-PVE-VG-by-default.patch
 0002-enable-issue_discards-by-default.patch
+0003-disable-use-lvmetad.patch
-- 
2.11.0





More information about the pve-devel mailing list