第 3 章 Configuring DM Multipath
Configure DM Multipath using the mpathconf utility, which creates or edits the /etc/multipath.conf configuration file to set up basic failover and additional storage options.
This utility creates or edits the /etc/multipath.conf multipath configuration file based on the following scenarios:
-
If the
/etc/multipath.conffile already exists, thempathconfutility will edit it. -
If the
/etc/multipath.conffile does not exist, thempathconfutility will create the/etc/multipath.conffile from scratch.
3.1. Checking for the device-mapper-multipath package 复制链接链接已复制到粘贴板!
Verify that the device-mapper-multipath package is installed on your system to ensure all necessary components are available before configuring multipathing. This prevents potential failures caused by missing core software.
Procedure
Check if your system includes the
device-mapper-multipathpackage:# rpm -q device-mapper-multipath device-mapper-multipath-current-package-versionIf your system does not include the package, it prints the following:
package device-mapper-multipath is not installedIf your system does not include the package, install it by running the following command:
# dnf install device-mapper-multipath