How To Install device-mapper-multipath.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install device-mapper-multipath.x86_64 on Amazon Linux 2.
What is device-mapper-multipath.x86_64
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 to install device-mapper-multipath.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install device-mapper-multipath.x86_64.
Install device-mapper-multipath.x86_64 on Amazon Linux 2 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.x86_64 using yum by running the following command:
sudo yum -y install device-mapper-multipath.x86_64
How To Uninstall device-mapper-multipath.x86_64 on Amazon Linux 2
To uninstall only the device-mapper-multipath.x86_64 package we can use the following command:
sudo yum remove device-mapper-multipath.x86_64
device-mapper-multipath.x86_64 Package Contents on Amazon Linux 2
/etc/multipath
/usr/lib/systemd/system/multipathd.service
/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-0.4.9
/usr/share/doc/device-mapper-multipath-0.4.9/AUTHOR
/usr/share/doc/device-mapper-multipath-0.4.9/COPYING
/usr/share/doc/device-mapper-multipath-0.4.9/FAQ
/usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf
/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.x86_64 on Amazon Linux 2 using yum.