Why do device names like "/dev/mpath/mpath0" still appear after defining custom aliases in /etc/multipath.conf?
Issue
-
Multipath device symbolic links with names like "
mpath0" are created in/dev/mpathafter configuring custom aliases in/etc/multipath.conf -
The multipath directive can be used to configure a user-specified alias for a device-mapper-multipath device in
/etc/multipath.conf: -
Error found in
/var/log/messages
Apr 4 15:43:06 hostname multipathd: 00000000000000000000123: rename mpathzz to drive_name123
multipaths {
multipath {
alias san0
wwid 350004fc006b902aa
}
}
- The alias binds a name to a device WWID
- This is an alternative to the automatically assigned
mpathNaliases provided by theuser_friendly_namesfeature and provides more control over device naming to the system administrator
Environment
- Red Hat Enterprise Linux 4
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
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.
