• 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. ipcs Command Examples in Linux
  2. resolvectl Command Examples in Linux
  3. Using vmstat to troubleshoot performance issues in Linux
  4. CentOS / RHEL 5 : How to password-protect single user mode
  5. ltrace Command Examples in Linux
  6. lxi Command Examples in Linux
  7. How to Re-Create the Yum Cache and/or Force a Fetch of the Package List of the Enabled Repositories
  8. lsof: command not found
  9. How to find the inode size of an ext2/ext3/ext4 filesystem?
  10. gcov Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright