]>
Commit | Line | Data |
---|---|---|
b442e040 OB |
1 | From a91e2f0d45b3f11d4cf25f769e5daeb0f8a83fb7 Mon Sep 17 00:00:00 2001 |
2 | From: Oguz Bektas <o.bektas@proxmox.com> | |
3 | Date: Fri, 12 Jul 2019 13:00:15 +0200 | |
4 | Subject: [PATCH] fix #2184: filter lvs from guests | |
5 | ||
6 | Signed-off-by: Oguz Bektas <o.bektas@proxmox.com> | |
7 | --- | |
8 | conf/example.conf.in | 3 ++- | |
9 | 1 file changed, 2 insertions(+), 1 deletion(-) | |
10 | ||
11 | diff --git a/conf/example.conf.in b/conf/example.conf.in | |
12 | index 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 | -- | |
26 | 2.20.1 | |
27 |