]> git.proxmox.com Git - lvm.git/blame - patchdir/0002-fix-2184-filter-lvs-from-guests.patch
followup: improve comment even more
[lvm.git] / patchdir / 0002-fix-2184-filter-lvs-from-guests.patch
CommitLineData
b442e040
OB
1From a91e2f0d45b3f11d4cf25f769e5daeb0f8a83fb7 Mon Sep 17 00:00:00 2001
2From: Oguz Bektas <o.bektas@proxmox.com>
3Date: Fri, 12 Jul 2019 13:00:15 +0200
4Subject: [PATCH] fix #2184: filter lvs from guests
5
6Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
7---
8 conf/example.conf.in | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
10
11diff --git a/conf/example.conf.in b/conf/example.conf.in
12index 009a442ed..78073569a 100644
13--- a/conf/example.conf.in
14+++ b/conf/example.conf.in
15@@ -125,7 +125,8 @@ devices {
16 # Run vgscan after changing the filter to regenerate the cache.
17 #
18 # Do not scan ZFS zvols (to avoid problems on ZFS zvols snapshots)
19- global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ]
8efad8c7 20+ # Also do not scan LVM disks from guests on both VGs named & not named 'pve'
b442e040
OB
21+ global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" "r|/dev/mapper/.*-vm--[0-9]+--disk--[0-9]+|"]
22
23 # Example
24 # Accept every block device:
25--
262.20.1
27