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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • 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. How to Configure Proxy in CentOS/RHEL/Fedora
  2. CentOS / RHEL : How to disable root login or root access on a system
  3. How to disable lvmetad in CentOS/RHEL
  4. Linux / UNIX : How to create extended partition using fdisk
  5. How to Install SSHFS on CentOS/RHEL/Ubuntu
  6. How To Check Current Values for Kernel Tuning Parameters in CentOS/RHEL
  7. How to Extend the Last Existing Filesystem Partition with Parted
  8. CentOS / RHEL 7 : Understanding Kexec and Kdump
  9. How to configure apache virtual host on ubuntu
  10. egrep Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • vgextend Command Examples in Linux
  • setpci command – configure PCI device
  • db_load command – generate db database
  • bsdtar command – Read and write tape archive files

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright