Setup Multipath Disk Mapper On Linux
1. install packages multipath
# yum install device-mapper-multipath
2. Enable config multipath.conf
# mpathconf --enable
3. Configure multipath.conf
# vi /etc/multipath.conf
defaults {
path_selector "round-robin 0"
path_grouping_policy failover
failback immediate
no_path_retry fail
user_friendly_names no
find_multipaths yes
enable_foreign "^$"
}
blacklist_exceptions {
property "(SCSI_IDENT_|ID_WWN)"
}
blacklist {
}
4. Restart service multipathd
# systemctl restart multipathd
5. Show multipath disk that assign on your system
# multipath -ll
if your system can’t found the new multipath disk, you can scan the new disk with the command :
# rescan-scsi-bus.sh