• 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. Extend the Size of /boot Partition on XFS Filesystem (CentOS/RHEL 7)
  2. When to use rescan-scsi-bus.sh -i (LIP flag) in CentOS/RHEL
  3. How to Enable/Disable CPUs (Limiting CPU count) in CentOS / RHEL
  4. Starting iptables Fails with Error “Another app is currently holding the xtables lock”
  5. CentOS / RHEL 6,7 : How to enable or disable XDMCP service (GDM)
  6. What are Shell Scripts? How to Create Shell Scripts?
  7. Where to find ASMLib / oracleasm RPMs for CentOS/RHEL, SUSE, OEL
  8. How to Change the default kernel (boot from old kernel) in CentOS/RHEL 8
  9. Audit Log And Messages File Not Rotating on CentOS/RHEL
  10. How to disable auto deletion of the files in /tmp and /var/tmp directories in CentOS / RHEL 5,6

You May Also Like

Primary Sidebar

Recent Posts

  • Basics of client connectivity in Oracle Data Guard configuration
  • ORA-354 ORA-353 and ORA-312: Possible corruption in Online Redo Log File Members in a Redo Log Group
  • How to relocate the redo log files to a different location on disk
  • Oracle Database: Redo log operations (Add/Drop/Change Location)
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary