"Multipath" command returning wrong devices on Red Hat Enterprise Linux 5
Issue
- An EMC SAN LUN is supposed to be a 5MB ACLX but multipath thinks that the scsi_id derived from that WWN actually belongs to a different device (which also doesn't match the scsi_id listed in multipath_bindings):
Symmetrix ID: 000000000000
/dev/mapper/mpath8 00A4 12G:0 07B:D0 2-Way Mir N/Grp'd ACLX WD 6
# /usr/symcli/bin/symdev -sid 3592 show 00A4 | grep -i wwn
Encapsulated WWN : N/A
Device WWN : 60000970000192603592533030304134
- Multipath –l resolves mpath8 as mpath411, but with the WWN that should belong to mpath8, and paths that belong to mpath411.
# multipath -l mpath8
mpath411 (360000970000192603592533030304134) dm-56 EMC,SYMMETRIX
[size=68G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 3:0:6:118 sdchy 133:2112 [active][undef]
\_ 2:0:6:118 sdcif 133:2224 [active][undef]
- However, looking at the scsi_id of the paths that supposedly feed mpath411, they have a different scsi_id/WWN (the one that belongs to the real mpath411 which is 68G):
# scsi_id -g -s /block/sdchy
360000970000192602216533036373438
- Multipath –l on mpath411 gives me yet a different device.
# multipath -l mpath411
mpath551 (360000970000192602216533036373438) dm-877 EMC,SYMMETRIX
[size=68G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 3:0:9:99 sdcwf 68:2672 [active][undef]
\_ 2:0:9:99 sdcwg 68:2688 [active][undef]
- In essence, multipath –l is reporting data that doesn't match what the rest of the system is reporting.
Environment
- Red Hat Enterprise Linux 5 (RHEL5)
- SAN-based storage
-
device-mapper-multipath
- The multipath bindings file has been relocated to the root filesystem as per this solution.
- The bindings file has been hand-edited so that multipath devices are named via the bindings file, rather than using aliases in multipath.conf:
# cat /etc/multipath_bindings #BVPROD Cntrl - SNAP oraBVPROD_cntrl_001_1000M 360000970000192603592533030463938 # 1024M sdeg sde 3592 0F98 REGULAR oraBVPROD_cntrl_002_1000M 360000970000192603592533030463939 # 1024M sdei sdf 3592 0F99 REGULAR oraBVPROD_cntrl_003_1000M 360000970000192603592533030463941 # 1024M sdek sdg 3592 0F9A REGULAR oraBVPROD_cntrl_004_1000M 360000970000192603592533030463942 # 1024M sdem sdh 3592 0F9B REGULAR
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.
