• 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

CentOS / RHEL 6 : How to completely remove device mapper multipath (dm-multipath)

By admin

Device Mapper Multipathing (or DM-multipathing) is a Linux native multipath tool, which allows you to configure multiple I/O paths between server nodes and storage arrays into a single device. The post describes the steps to un-configure and remove device mapper multipath completely from the system.

Disabling the service

1. Make sure device mapper multipath is not in use. Then stop multipathd service:

# service multipathd stop

2. Check multipathd service has been disable in system startup

# chkconfig --list | grep multipathd

3. If not then disable it using following command:

# chkconfig multipathd off
# chkconfig --list | grep multipathd
multipathd      0:off   1:off   2:off   3:off   4:off   5:off   6:off

Removing the package and rebuild Initial RAM disk

1. Obtain the full package name:

# rpm -qa |grep multipath
device-mapper-multipath-0.4.9-93.el6.x86_64
device-mapper-multipath-libs-0.4.9-93.el6.x86_64

2. Remove the package using yum:

# yum remove device-mapper-multipath

3. And then finally rebuild initramfs by omitting multipath module:

# cp /boot/initramfs-[kernel version].img /boot/initramfs-[kernel version].img.BAK
# dracut -v -f --omit dm_multipath initramfs-[kernel version].img [kernel version]

Filed Under: Linux

Some more articles you might also be interested in …

  1. “su: Authentication failure” – in Docker
  2. How to Remove/ Disable Bash shell Command History on Linux
  3. Why Does “/var/log/messages” Report Martian Packets
  4. Features of the “Btrfs” Filesystem
  5. How to Create An LVM Snapshot Of The Root Filesystem And Restore To An Earlier State
  6. CentOS / RHEL : How to configure iptable rules to allow FTP ports 20/21
  7. How to set custom device names using udev in CentOS/RHEL 7
  8. Understanding /etc/group file
  9. Beginners Guide to SELinux
  10. understanding “yum history” command output

You May Also Like

Primary Sidebar

Recent Posts

  • How to disable ACPI in CentOS/RHEL 7
  • How to Use real-time query to access data on a physical standby database
  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary