From 127538f711cd8d69cf075b2cb03e06f3054eb4fe Mon Sep 17 00:00:00 2001 From: David Lehman Date: Mon, 19 Aug 2019 14:10:14 -0400 Subject: [PATCH] Use smarter multipath detection logic. This new setting for 'find_multipaths' tries to prevent things like LVM from going ahead and activating LVM on the individual disks/paths until there is reasonable certainty (via a timeout) that the device is not a component of a multipath set. NOTE: 'smart' is supported by device-mapper-multipath v0.7.7 and later. Resolves: rhbz#1763906 Signed-off-by: Brian C. Lane --- 80-rhel/runtime-postinstall.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/80-rhel/runtime-postinstall.tmpl b/80-rhel/runtime-postinstall.tmpl index 1d019d1..6894735 100644 --- a/80-rhel/runtime-postinstall.tmpl +++ b/80-rhel/runtime-postinstall.tmpl @@ -105,7 +105,7 @@ symlink ../run/install mnt/install append etc/depmod.d/dd.conf "search updates built-in" ## create multipath.conf so multipath gets auto-started -append etc/multipath.conf "defaults {\n\tfind_multipaths yes\n\tuser_friendly_names yes\n}\n" +append etc/multipath.conf "defaults {\n\tfind_multipaths smart\n\tuser_friendly_names yes\n}\n" ## make lvm auto-activate remove etc/lvm/archive/*