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

– 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
Related Post