mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

Blame SOURCES/lvm2-set-default-preferred_names.patch

5f1a1f
--- LVM2.2.02.108/conf/example.conf.in	2014-07-23 16:21:02.000000000 +0100
5f1a1f
+++ LVM2.2.02.108-new/conf/example.conf.in	2014-07-23 23:05:06.000000000 +0100
5f1a1f
@@ -58,7 +58,7 @@
5f1a1f
     # preferred_names = [ ]
191583
 
191583
     # Try to avoid using undescriptive /dev/dm-N names, if present.
191583
-    # preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
191583
+    preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ]
191583
 
5f1a1f
     # In case no prefererred name matches or if preferred_names are not
5f1a1f
     # defined at all, builtin rules are used to determine the preference.