]> git.proxmox.com Git - lvm.git/blob - patchdir/0001-filter-zvols-and-PVE-VG-by-default.patch
b02f725ad1b2acde38528d8793113f8f8a73cb23
[lvm.git] / patchdir / 0001-filter-zvols-and-PVE-VG-by-default.patch
1 From 9133a3b85cc8105dd37b266a8223a44d1c881318 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
3 Date: Fri, 17 Mar 2017 11:59:25 +0100
4 Subject: [PATCH 1/4] filter zvols and PVE VG by default
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
10 ---
11 conf/example.conf.in | 3 +++
12 1 file changed, 3 insertions(+)
13
14 diff --git a/conf/example.conf.in b/conf/example.conf.in
15 index 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 --
29 2.14.1
30