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#1676777
(cherry picked from commit b8c1e706bb
)
Signed-off-by: Brian C. Lane <bcl@redhat.com>
This commit is contained in:
parent
2f42748e5c
commit
0fbf37690f
@ -105,7 +105,8 @@ 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
|
||||
remove etc/lvm/archive/*
|
||||
|
Loading…
Reference in New Issue
Block a user