Is it possible to setup custom prio number of multipath devices from the OS side?
Issue
- Is it possible to setup custom prio number of multipath devices from the OS side?
-
The user wants to setup this number like below.
Before$ multipath -ll mpatha (36006016069603000XXXXXXXXXXXXX) dm-0 xxx,xxx size=100G features='0' hwhandler='1 emc' wp=rw |-+- policy='round-robin 0' prio=1 status=active | `- 1:0:0:0 sda 8:0 active ready running |-+- policy='round-robin 0' prio=1 status=enable | `- 0:0:0:0 sdb 8:16 active ready running |-+- policy='round-robin 0' prio=0 status=enabled | `- 1:0:1:0 sdc 8:32 active ready running `-+- policy='round-robin 0' prio=0 status=enabled `- 0:0:1:0 sdd 8:48 active ready running
After
mpatha (36006016069603000XXXXXXXXXXXXX) dm-0 xxx,xxxx size=100G features='0' hwhandler='1 emc' wp=rw |-+- policy='round-robin 0' prio=3 status=active | `- 1:0:0:0 sda 8:0 active ready running |-+- policy='round-robin 0' prio=2 status=enabled | `- 0:0:0:0 sdb 8:16 active ready running |-+- policy='round-robin 0' prio=1 status=enabled | `- 1:0:1:0 sdc 8:32 active ready running `-+- policy='round-robin 0' prio=0 status=enabled `- 0:0:1:0 sdd 8:48 active ready running
Environment
- Red Hat Enterprise Linux 5, 6
- device-mapper-multipath
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.