]> git.proxmox.com Git - lvm.git/blob - patchdir/filter_zvols_and_pve_vg_in_lvm.conf.patch
d6c24395d38c27deb03ed54d2783c69468d19426
[lvm.git] / patchdir / filter_zvols_and_pve_vg_in_lvm.conf.patch
1 --- a/conf/example.conf.in
2 +++ b/conf/example.conf.in
3 @@ -118,6 +118,9 @@
4 # If lvmetad is used, then see "A note about device filtering while
5 # lvmetad is used" comment that is attached to global/use_lvmetad setting.
6
7 + # Do not scan ZFS zvols (to avoid problems on ZFS zvols snapshots)
8 + global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ]
9 +
10 # By default we accept every block device:
11 # filter = [ "a/.*/" ]
12