From b8c1e706bb35d005ce31863e90172ddb2fecde44 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. --- share/templates.d/99-generic/runtime-postinstall.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/templates.d/99-generic/runtime-postinstall.tmpl b/share/templates.d/99-generic/runtime-postinstall.tmpl index 2472637c..8da62855 100644 --- a/share/templates.d/99-generic/runtime-postinstall.tmpl +++ b/share/templates.d/99-generic/runtime-postinstall.tmpl @@ -106,7 +106,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" append etc/multipath.conf "blacklist_exceptions {\n\tproperty \"(SCSI_IDENT_|ID_WWN)\"\n}\n" ## make lvm auto-activate