The multipath command does not print a warning when multipathd is not running

Solution Unverified - Updated -

Issue

  • /sbin/multipath does not print a warning when multipathd (the daemon) is not running.
  • The /sbin/multipath command will display the existing multipath topology when the daemon is not running. This can result in confusion when additional LUNs are presented to the system but do not have corresponding multipath devices created due to the daemon being stopped.
$ sudo /etc/init.d/multipathd stop
Stopping multipathd daemon:                                [  OK  ]

$ sudo /sbin/multipath -ll
mpathe (360060e801333e900502033e900000162) dm-7 HITACHI,OPEN-V
size=564G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
  |- 1:0:0:4 sdf 8:80  active ready running
  `- 2:0:0:4 sdl 8:176 active ready running
....SNIP...
mpathf (360060e801333e900502033e9XXXXX) dm-8 XXX,OPEN-V
size=564G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
  |- 1:0:0:5 sdg 8:96  active ready running
  `- 2:0:0:5 sdm 8:192 active ready running

$ sudo /etc/init.d/multipathd start
Starting multipathd daemon:                                [  OK  ]
$ rpm -q device-mapper-multipath
device-mapper-multipath-0.4.9-80.el6.x86_64

Environment

  • Red Hat Enterprise Linux 5, 6
  • device-mapper-multipath

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In