lvm-osuosl-ganeti2.conf: only look for /dev/sda to workaround multipath issues
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 23 Jun 2019 12:13:08 +0000 (14:13 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 23 Jun 2019 12:13:08 +0000 (14:13 +0200)
multipath doesn't work properly on pieta. Workaround the issue by only
looking at /dev/sda.

modules/dsa_lvm/files/lvm-osuosl-ganeti2.conf

index eeaa01e..0803181 100644 (file)
@@ -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.