X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fdsa_lvm%2Ffiles%2Flvm-ganeti.manda.debian.org.conf;h=9bcd78a7a117ded69aaa0ec14638da724aa66de2;hb=12ee5e4f8ecdb0032f28a70d858b431bcb8ac76d;hp=fb6f0e456202bcf8ff4e6abbd72a84f4ed704bc9;hpb=fe485bb7b95c7d8edaa2631865a3380b39cf4530;p=mirror%2Fdsa-puppet.git diff --git a/modules/dsa_lvm/files/lvm-ganeti.manda.debian.org.conf b/modules/dsa_lvm/files/lvm-ganeti.manda.debian.org.conf index fb6f0e456..9bcd78a7a 100644 --- a/modules/dsa_lvm/files/lvm-ganeti.manda.debian.org.conf +++ b/modules/dsa_lvm/files/lvm-ganeti.manda.debian.org.conf @@ -150,6 +150,7 @@ devices { # global_filter are not opened by LVM. # This configuration option has an automatic default value. # global_filter = [ "a|.*/|" ] + global_filter = [ "a|^/dev/sd[ab][0-9]*$|", "r/.*/" ] # Configuration option devices/cache_dir. # Directory in which to store the device cache file. @@ -299,7 +300,7 @@ devices { # benefit from discards, but SSDs and thinly provisioned LUNs # generally do. If enabled, discards will only be issued if both the # storage and kernel provide support. - issue_discards = 0 + issue_discards = 1 # Configuration option devices/allow_changes_with_duplicate_pvs. # Allow VG modification while a PV appears on multiple devices.