How to configure custom prio values in dm-multipath for RHEL6?
Issue
- An iSCSI LUN provisioned with 10G and 1G link.
- Need to to configure 10GB link as primary path in device-mapper-multipath.
- Is it possible to set path priority using custom prio script in RHEL6? or any other option to configure multipath favour to 10G connection over 1G?
mpathd (36000d310004ff300000000000000001b) dm-4 COMPELNT,Compellent Vol
size=768G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 88:0:0:1 sdg 8:96 active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
`- 90:0:0:1 sdb 8:16 active ready running
Environment
- Red Hat Enterprise Linux 6, kernel version 2.6.32-358.18.1.el6.x86_64
- device-mapper-multipath, version 0.4.9-64.el6_4.2.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
