# multipath

Operating System - RHEL 8.7

~]# rpm -qa | grep device-mapper
~]# yum install device-mapper-multipath
~]# mpathconf --enable
~]# systemctl restart multipathd.service
~]# systemctl status multipathd.service
~]# systemctl enable multipathd.service
~]# cat /etc/multipath/wwids
/360060e802260b000504160b000000000/
~]# cat > /etc/multipath.conf <<EOF
devices {
        device {
                vendor                  "HITACHI"
                product                 "^OPEN-"
                path_grouping_policy    "multibus"
                no_path_retry           10
        }
}
multipaths {
        multipath {
            wwid     360060e802260b000504160b000000000
            alias    g350_mdw01
        }
}
~]# systemctl reload multipathd.service
~]# multipath -r
~]# multipath -ll

# Troubleshooting

The multipathd service fails to start with Device-Mapper Multipath Device Controller was skipped because of an unmet condition check.

~]# systemctl start multipathd.service
[root@localhost ~]# systemctl status multipathd.service
○ multipathd.service - Device-Mapper Multipath Device Controller
     Loaded: loaded (/usr/lib/systemd/system/multipathd.service; enabled; preset: enabled)
     Active: inactive (dead)
TriggeredBy: ○ multipathd.socket
  Condition: start condition failed at Sat 2024-04-06 08:58:04 CST; 2s ago
             └─ ConditionPathExists=/etc/multipath.conf was not met
Mar 04 22:53:22 localhost systemd[1]: Device-Mapper Multipath Device Controller was skipped because of an unmet condition check (ConditionPathExists=/etc/multipath.conf).
Mar 06 08:58:04 localhost.localdomain systemd[1]: Device-Mapper Multipath Device Controller was skipped because of an unmet condition check (ConditionPathExists=/etc/multipath.conf).
~]# mpathconf --enable
~]# systemctl restart multipathd.service
Edited on