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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS / RHEL 5 : How to disable device mapper multipath (dm-multipath)

by admin

In CentoS/ RHEL 5, the device mapper multipath is installed by default. In order to avoid any conflict with third party multipath software, it is advised to disable the native RHEL device-mapper-multipath software. Follow the steps below to disable the dm-multipath in RHEL 5 systems.

Disabling dm-multipath

1. To disable device-mapper-multipath, turn it off with the chkconfig command. chkconfig command makes sure that dm-multipath is not started after reboot or service restart.

# chkconfig multipathd off

2. In addition, make sure the file /etc/sysconfig/mkinitrd/multipath has the following line:

MULTIPATH=NO

The purpose of the /etc/sysconfig/mkinitrd/multipath file, is to help mkinitrd determine whether or not to include the dm-multipath modules in the initrd image file.

3. By default, /etc/multipath.conf has all devices blacklisted. If this default configuration has been changed, the change should be reverted. If the devices are not blacklisted, then running the multipath command could cause a conflict with other multipathing software. The /etc/multipath.conf file should contain the following:

# Blacklist all devices by default. Remove this to enable multipathing
# on the default devices.
blacklist {
        devnode "*"
}

The above steps will ensure that device-mapper-multipath does not conflict with any other multipathing solution in use.

Filed Under: Linux

Some more articles you might also be interested in …

  1. raspistill: command not found
  2. llvd Command Examples
  3. lsblk: command not found
  4. kwrite: command not found
  5. gatsby: Static site generator for React
  6. csc: The Microsoft C# Compiler (Command Examples)
  7. CentOS / RHEL : How to resize (extend) existing Physical Volume (PV)
  8. “userdel: user xxx is currently used by process yyy” – Unable to delete an User
  9. mke2fs: command not found
  10. ffsend: Easily and securely share files from command-line

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright