How does "multipath -ll" command determine the priority of displaying devices in RHEL?

Solution Verified - Updated -

Issue

  • When running "multipath -ll" command, we could see the following output. so, we have questions regarding ordering of multipath devices by "multipath -ll" command.
root@localhost ~]# multipath -ll
36006016004003b0047098d6e779fe511 dm-0 DGC     ,VRAID
size=100G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:1:41 sdi 8:128 active ready  running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:0:41 sde 8:64  active ready  running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 0:0:0:41 sdo 8:224 active ready  running
`-+- policy='round-robin 0' prio=1 status=enabled
  `- 0:0:3:41 sdf 8:80  active ready  running
36006016004003b0034b2ef7a779fe511 dm-1 DGC     ,VRAID
size=350G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:1:36 sdn 8:208 active ready  running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:0:36 sdm 8:192 active ready  running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 0:0:0:36 sdk 8:160 active ready  running
`-+- policy='round-robin 0' prio=1 status=enabled
  `- 0:0:3:36 sdd 8:48  active ready  running
36006016004003b00b3fec8f7779fe511 dm-2 DGC     ,VRAID
size=550G features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:16 sdr 65:16 active ready  running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 2:0:1:16 sds 65:32 active ready  running
|-+- policy='round-robin 0' prio=1 status=enabled
| `- 0:0:3:16 sdc 8:32  active ready  running
`-+- policy='round-robin 0' prio=1 status=enabled
  `- 0:0:0:16 sdj 8:144 active ready  running
[root@localhost ~]# cat /etc/multipath.conf
defaults {
        polling_interval 5
        path_selector        "round-robin 0"
        path_grouping_policy    failover
        path_checker    readsector0
        rr_min_io       100
        rr_weight       priorities
        failback        immediate
        features 0
        no_path_retry  fail
        user_friendly_names no
        find_multipaths yes
        queue_without_daemon no
}
blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z]"
        devnode "^cciss!c[0-9]d[0-9]*"
        # Skip LUNZ device from VNX
        device {
                vendor "DGC"
                product "LUNZ"
        }
}
devices {
        device {
                vendor  "*"
                product "*"
                no_path_retry  fail
        }
}

How does "multipath -ll" command determine the priority of displaying devices? and Can we adjust the priority of displaying devices shown by "multipath -ll"?

Environment

  • Red Hat Enterprise Linux 7

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