From 6f170969f00763a6592413d200b598414cc283e9 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 23 Jun 2019 14:13:08 +0200 Subject: [PATCH] lvm-osuosl-ganeti2.conf: only look for /dev/sda to workaround multipath issues multipath doesn't work properly on pieta. Workaround the issue by only looking at /dev/sda. --- modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf b/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf index eeaa01e2f..08031810f 100644 --- a/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf +++ b/modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf @@ -139,7 +139,7 @@ devices { # # This configuration option has an automatic default value. # filter = [ "a|.*/|" ] - filter = [ "a|^/dev/sd[ab][0-9]*$|", "r/.*/" ] + filter = [ "a|^/dev/sda[0-9]*$|", "r/.*/" ] # Configuration option devices/global_filter. # Limit the block devices that are used by LVM system components. @@ -150,7 +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/.*/" ] + global_filter = [ "a|^/dev/sda[0-9]*$|", "r/.*/" ] # Configuration option devices/cache_dir. # Directory in which to store the device cache file. -- 2.20.1