]> git.proxmox.com Git - lvm.git/blame - patchdir/0001-filter-zvols-and-PVE-VG-by-default.patch
fix #2564: do not hardcode paths in bldeactivate
[lvm.git] / patchdir / 0001-filter-zvols-and-PVE-VG-by-default.patch
CommitLineData
51247e17 1From 65e9206964c546842ccd8cc8c7885b4feb66c429 Mon Sep 17 00:00:00 2001
ec236ca1
FG
2From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3Date: Fri, 17 Mar 2017 11:59:25 +0100
51247e17 4Subject: [PATCH 1/6] filter zvols and PVE VG by default
ec236ca1
FG
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10---
11 conf/example.conf.in | 3 +++
12 1 file changed, 3 insertions(+)
13
14diff --git a/conf/example.conf.in b/conf/example.conf.in
15index 736b4bd..1a8a67b 100644
16--- a/conf/example.conf.in
17+++ b/conf/example.conf.in
18@@ -125,6 +125,9 @@ devices {
19 # Run vgscan after changing the filter to regenerate the cache.
20 # See the use_lvmetad comment for a special case regarding filters.
21 #
22+ # Do not scan ZFS zvols (to avoid problems on ZFS zvols snapshots)
23+ global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ]
24+
25 # Example
26 # Accept every block device:
27 # filter = [ "a|.*/|" ]
28--
0be5568c 292.14.1
ec236ca1 30