Why do device names like "/dev/mpath/mpath0" still appear after defining custom aliases in /etc/multipath.conf?

Solution Verified - Updated -

Issue

  • Multipath device symbolic links with names like "mpath0" are created in /dev/mpath after 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 mpathN aliases provided by the user_friendly_names feature 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.