How To Install device-mapper-multipath on Fedora 36

In this tutorial we learn how to install device-mapper-multipath in Fedora 36. device-mapper-multipath is Tools to manage multipath devices using device-mapper

Introduction

In this tutorial we learn how to install device-mapper-multipath on Fedora 36.

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 Fedora 36. 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 Fedora 36 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 Fedora 36 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 Fedora 36

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 Fedora 36

/etc/multipath
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/88b326ac3bffde46810904dac9ab6ca0db77a1
/usr/lib/.build-id/36
/usr/lib/.build-id/36/535f2c066a3b024aba014ff8dc54f447e05cbd
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/b637b576b623071129817603da645eff8bcdba
/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.alua
/usr/share/doc/device-mapper-multipath/README.md
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).