| Summary: | "multipath -l" are showing incorrect priority value compare to "multipathd -k'show topo'" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Gris Ge <fge> |
| Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> |
| Status: | CLOSED NOTABUG | QA Contact: | Storage QE <storage-qe> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.8 | CC: | agk, bmarzins, bmr, dwysocha, heinzm, mbroz, prajnoha, prockai, zkabelac |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-09 17:01:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Gris Ge
2012-02-08 03:34:16 UTC
multipath -l doesn't check the priority. mutipath -ll does. Please verify that this works. multipath -l should probably not display the priority at all, or display undef, but since customers may be relying on the current output for scripting, and this has always been multipath's behaviour, I am reluctant to change it so late in the RHEL 5 release. Yes. multipath -ll provide the same info with "multipathd -k'show topo'". Ben, Can you clarify why "/sbin/mpath_prio_netapp /dev/sde" got 1, but priority show it as 4? Thanks. In RHEL 6, the priority of the pathgroup is the average of its paths priority, which is probably what most people want and expect. In RHEL5, multipath uses the sum. You can add pg_prio_calc "avg" to the defaults section of /etc/multipath.conf to use the average instead in RHEL5. |