0

Multipathd is not working,

OS: CentOS 6.5 x86_64

[root@localhost ~]# rpm -qa|grep multipath
device-mapper-multipath-libs-0.4.9-87.el6.x86_64
device-mapper-multipath-0.4.9-87.el6.x86_64

I m getting below error while restarting multipathd service

[root@localhost ~]# /etc/init.d/multipathd restart
ux_socket_connect: Connection refused
Stopping multipathd daemon:                                [FAILED]
Starting multipathd daemon:                                [  OK  ]
[root@localhost ~]# /etc/init.d/multipathd start
Starting multipathd daemon:                                [  OK  ]
[root@localhost ~]# /etc/init.d/multipathd status
multipathd dead but pid file exists

Content of /etc/multipath.conf

defaults {
        udev_dir                /dev
        polling_interval        10
        path_selector           "round-robin 0"
        path_grouping_policy    multibus
        getuid_callout          "/lib/udev/scsi_id --replace-whitespace --whitelisted --device=/dev/%n"
        prio                    const
        path_checker            readsector0
        rr_min_io               100
        max_fds                 8192
        rr_weight               priorities
        failback                immediate
        no_path_retry           fail
        user_friendly_names     no
}

blacklist {
#       wwid 26353900f02796769
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
#       devnode "^hd[a-z]"
        devnode "/dev/sda"
}
  • Are there anything interesting in log files? – Raymond Tau Oct 28 '15 at 7:08
0

On my machine also I was hitting same issue

# /etc/init.d/multipathd start
Starting multipathd daemon: [ OK ]

# /etc/init.d/multipathd status
multipathd dead but pid file exists

Actualy there were two issues
1. dm_round_robin kernel module was not loaded
2. device-mapper and glibc packages were old , they were not compatible with multipath package

Resolution
1. /etc/init.d/multipathd stop
2. rm /var/run/multipat*
3. /sbin/modprob -i dm_round_robin
4. yum update device-mapper yum update glibc

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.