• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Understanding dm-Multipath Identifiers in Linux

By admin

By default, multipath devices are identified by a World Wide Identifier (WWID), which is globally unique. As an alternative, you can set the user_friendly_names attribute to yes in the /etc/multipath.conf file, which sets the multipath device to mpathN where N is the multipath group number.
The DM-Multipath tool uses two different sets of file names:

  • /dev/dm-N – Never use these device names, because they are intended to be used only by the DM-Multipath tool.
  • /dev/mapper/mpathN – Always use these device names to access the multipath devices. These names are persistent and are automatically created by device-mapper early in the boot process.

You can also use the alias attribute in the multipaths section of the configuration file to specify the name of a multipath device. The alias attribute overrides mpathN names.

Use either the /dev/mapper/mpathN name or the /dev/mapper/[alias] name when creating a partition, when creating an LVM physical volume, and when making and mounting a file system.

Beginners guide to Device Mapper (DM) multipathing

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : Beginners guide to systemd service units
  2. Linux / UNIX : How to create extended partition using fdisk
  3. How to use the ssh-keygen Command in Linux
  4. Linux OS Service ‘lm_sensors’
  5. Filesystems Are Not Getting Mounted in Order on CentOS/RHEL 7
  6. Linux OS Service ‘setroubleshoot’
  7. CentOS / RHEL 7 : How to Change Timezone
  8. How to Change the Default Timeout Settings for Telnet Session in CentOS/RHEL
  9. What is the purpose of utmp, wtmp and btmp files in Linux
  10. Getting “parsing errors” When Running ‘yum repolist’

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary