How To Install mdadm.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install mdadm.x86_64
on Amazon Linux 2.
What is mdadm.x86_64
The mdadm program is used to create, manage, and monitor Linux MD (software RAID) devices. As such, it provides similar functionality to the raidtools package. However, mdadm is a single program, and it can perform almost all functions without a configuration file, though a configuration file can be used to help with some common tasks.
We can use yum
to install mdadm.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mdadm.x86_64.
Install mdadm.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 mdadm.x86_64
using yum
by running the following command:
sudo yum -y install mdadm.x86_64
How To Uninstall mdadm.x86_64 on Amazon Linux 2
To uninstall only the mdadm.x86_64
package we can use the following command:
sudo yum remove mdadm.x86_64
mdadm.x86_64 Package Contents on Amazon Linux 2
/etc/cron.d/raid-check
/etc/sysconfig/raid-check
/usr/lib/systemd/system-shutdown/mdadm.shutdown
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/mdmonitor.service
/usr/lib/tmpfiles.d/mdadm.conf
/usr/lib/udev/rules.d/63-md-raid-arrays.rules
/usr/lib/udev/rules.d/65-md-incremental.rules
/usr/sbin/mdadm
/usr/sbin/mdmon
/usr/sbin/raid-check
/usr/share/doc/mdadm-4.0
/usr/share/doc/mdadm-4.0/COPYING
/usr/share/doc/mdadm-4.0/ChangeLog
/usr/share/doc/mdadm-4.0/TODO
/usr/share/doc/mdadm-4.0/mdadm.conf-example
/usr/share/doc/mdadm-4.0/mdcheck
/usr/share/doc/mdadm-4.0/syslog-events
/usr/share/man/man4/md.4.gz
/usr/share/man/man5/mdadm.conf.5.gz
/usr/share/man/man8/mdadm.8.gz
/usr/share/man/man8/mdmon.8.gz
/var/run/mdadm
References
Summary
In this tutorial we learn how to install mdadm.x86_64
on Amazon Linux 2 using yum.