• 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

CentOS / RHEL 5 : dm-multipath file /etc/sysconfig/mkinitrd/multipath explained

by admin

– 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.
– Note that setting MULTIPATH=yes has no effect, unless mkinitrd detects that the root device is using multipath. Remember that the purpose of the initrd image is only to load the necessary modules to get the root filesystem up and running.
– If the user installs with linux mpath option or using multipath devices, this file is not created but if the user installs single path device or local device this file is created and its contents is MULTIPATH=no.

The /etc/sysconfig/mkinitrd/multipath file should be an executable file.

# ls -l /etc/sysconfig/mkinitrd/multipath 
-rwxr-xr-x 1 root root 13 Setp 10  2017 /etc/sysconfig/mkinitrd/multipath
# cat /etc/sysconfig/mkinitrd/multipath
 MULTIPATH=no

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : How to disable IPv6 on a specific interface only
  2. Linux OS service ‘auditd’
  3. “No space left on device” – kdump generation issue (CentOS/RHEL)
  4. halt Command Examples in Linux
  5. pidstat Command Examples in Linux
  6. grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  7. What is the difference between the -i and -U options used in rpm command in Linux
  8. CentOS / RHEL 7 : Shutting Down, Suspending, or Rebooting Commands (systemctl)
  9. How to configure kdump in Oracle Enterprise Linux (OEL 5,6)
  10. ifenslave 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