After a reboot, multipath does not automatically add all the paths to multipath device

Solution Verified - Updated -

Issue

  • After a reboot, multipath does not automatically add all the paths to multipath device
  • multipath devices are not fully assembled after a reboot, some paths are skipped randomly.
    e.g. after system reboot below multipath device shows only one path while it has one more path:

    mpatha (3600a0999999992222222222999999992) dm-0 NETAPP  ,LUN C-Mode      
    size=16G features='4 queue_if_no_path pg_init_retries 50 retain_attached_hw_handle' hwhandler='1 alua' wp=rw
    `-+- policy='service-time 0' prio=50 status=active
      `- 2:0:0:2 sdg 8:96  active ready running
    

    This issue occurs only when multipath is configured to blacklist all the wwids and accept only specific devices mentioned in blacklist_exceptions:

    e.g.
    $ less /etc/multipath.conf
    blacklist {
            wwid    "*"
    }
    
    # blacklist exceptions
    blacklist_exceptions {
            wwid    "3600a0999999992222222222999999991"
            wwid    "3600a0999999992222222222999999992"
    }
    [...]
    

Environment

  • Red Hat Enterprise Linux 7
  • device-mapper-multipath < 0.4.9-127.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content