How To Install device-mapper-multipath on Rocky Linux 8
Introduction
In this tutorial we learn how to install device-mapper-multipath
on Rocky Linux 8.
What is device-mapper-multipath
device-mapper-multipath provides tools to manage multipath devices by instructing the device-mapper multipath kernel module what to do. The tools are * multipath - Scan the system for multipath devices and assemble them. * multipathd - Detects when paths fail and execs multipath to update things.
We can use yum
or dnf
to install device-mapper-multipath
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install device-mapper-multipath.
Install device-mapper-multipath on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install device-mapper-multipath
using dnf
by running the following command:
sudo dnf -y install device-mapper-multipath
Install device-mapper-multipath on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install device-mapper-multipath
using yum
by running the following command:
sudo yum -y install device-mapper-multipath
How To Uninstall device-mapper-multipath on Rocky Linux 8
To uninstall only the device-mapper-multipath
package we can use the following command:
sudo dnf remove device-mapper-multipath
device-mapper-multipath Package Contents on Rocky Linux 8
/etc/multipath
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/cb70bc589a7a288d46426ca92d59f58ad106a6
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/0392351242c86fbef088595c4b46754e490630
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/d72a446e1c997b4f0392d57ae60d783c89d692
/usr/lib/systemd/system/multipathd.service
/usr/lib/systemd/system/multipathd.socket
/usr/lib/udev/rules.d/11-dm-mpath.rules
/usr/lib/udev/rules.d/62-multipath.rules
/usr/sbin/mpathconf
/usr/sbin/mpathpersist
/usr/sbin/multipath
/usr/sbin/multipathd
/usr/share/doc/device-mapper-multipath
/usr/share/doc/device-mapper-multipath/README
/usr/share/doc/device-mapper-multipath/README.alua
/usr/share/doc/device-mapper-multipath/multipath.conf
/usr/share/licenses/device-mapper-multipath
/usr/share/licenses/device-mapper-multipath/GPL-2.0
/usr/share/licenses/device-mapper-multipath/LGPL-2.0
/usr/share/man/man5/multipath.conf.5.gz
/usr/share/man/man8/mpathconf.8.gz
/usr/share/man/man8/mpathpersist.8.gz
/usr/share/man/man8/multipath.8.gz
/usr/share/man/man8/multipathd.8.gz
References
Summary
In this tutorial we learn how to install device-mapper-multipath
on Rocky Linux 8 using yum and dnf.