manda-node03, manda-node04: lvm: issue discards
[mirror/dsa-puppet.git] / modules / dsa_lvm / files / lvm-ganeti.manda.debian.org.conf
index feb4917..58f1913 100644 (file)
@@ -139,6 +139,7 @@ devices {
        # 
        # This configuration option has an automatic default value.
        # filter = [ "a|.*/|" ]
+       filter = [ "a|^/dev/sd[ab][0-9]*$|", "r/.*/" ]
 
        # Configuration option devices/global_filter.
        # Limit the block devices that are used by LVM system components.
@@ -298,7 +299,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.