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 <bcl@redhat.com>
This commit is contained in:
David Lehman 2019-08-19 14:10:14 -04:00 committed by Brian C. Lane
parent 5166bc8a20
commit 127538f711

View File

@ -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/*