How To Install drbd-utils on Fedora 36

In this tutorial we learn how to install drbd-utils in Fedora 36. drbd-utils is Management utilities for DRBD

Introduction

In this tutorial we learn how to install drbd-utils on Fedora 36.

What is drbd-utils

DRBD mirrors a block device over the network to another machine. Think of it as networked raid 1. It is a building block for setting up high availability (HA) clusters. This packages includes the DRBD administration tools.

We can use yum or dnf to install drbd-utils on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install drbd-utils.

Install drbd-utils 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 drbd-utils using dnf by running the following command:

sudo dnf -y install drbd-utils

Install drbd-utils 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 drbd-utils using yum by running the following command:

sudo yum -y install drbd-utils

How To Uninstall drbd-utils on Fedora 36

To uninstall only the drbd-utils package we can use the following command:

sudo dnf remove drbd-utils

drbd-utils Package Contents on Fedora 36

/etc/drbd.conf
/etc/drbd.d
/etc/drbd.d/global_common.conf
/etc/multipath/conf.d/drbd.conf
/lib/drbd/drbdadm-83
/lib/drbd/drbdadm-84
/lib/drbd/drbdsetup-83
/lib/drbd/drbdsetup-84
/lib/drbd/scripts/drbd
/lib/drbd/scripts/drbd-service-shim.sh
/lib/drbd/scripts/drbd-wait-promotable.sh
/lib/drbd/scripts/ocf.ra.wrapper.sh
/usr/lib/.build-id
/usr/lib/.build-id/63
/usr/lib/.build-id/63/5336d59084dc96c3a236e84bcc1f0ae23b583b
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/f628e968db3ccb5178e8a46d5316ff7e9c20a1
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/48fd7039f62b28c32fc295eec7dbd0b7e6183d
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/4f00d30bf990fe5cb67c7b4fefa16896000a65
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/6be2e11d11b9391ccb74d5d3704d2c073caf51
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/225e27ec22915b12a7f7ceb96c47faf8a07d9a
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/b7b589d3f263711c260f61a089b6f2459b0754
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/45cbe5fb5f9bf68ff1a9b1ed51f06f2faf9ee5
/usr/lib/drbd/crm-fence-peer.9.sh
/usr/lib/drbd/crm-fence-peer.sh
/usr/lib/drbd/crm-unfence-peer.9.sh
/usr/lib/drbd/crm-unfence-peer.sh
/usr/lib/drbd/notify-emergency-reboot.sh
/usr/lib/drbd/notify-emergency-shutdown.sh
/usr/lib/drbd/notify-io-error.sh
/usr/lib/drbd/notify-out-of-sync.sh
/usr/lib/drbd/notify-pri-lost-after-sb.sh
/usr/lib/drbd/notify-pri-lost.sh
/usr/lib/drbd/notify-pri-on-incon-degr.sh
/usr/lib/drbd/notify-split-brain.sh
/usr/lib/drbd/notify.sh
/usr/lib/drbd/outdate-peer.sh
/usr/lib/drbd/rhcs_fence
/usr/lib/drbd/snapshot-resync-target-lvm.sh
/usr/lib/drbd/stonith_admin-fence-peer.sh
/usr/lib/drbd/unsnapshot-resync-target-lvm.sh
/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/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/drbd.service
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/tmpfiles.d/drbd.conf
/usr/sbin/drbdadm
/usr/sbin/drbdmeta
/usr/sbin/drbdmon
/usr/sbin/drbdsetup
/usr/share/doc/drbd-utils
/usr/share/doc/drbd-utils/ChangeLog
/usr/share/doc/drbd-utils/drbd.conf.example
/usr/share/licenses/drbd-utils
/usr/share/licenses/drbd-utils/COPYING
/usr/share/man/ja/man5/drbd.conf-8.4.5.gz
/usr/share/man/ja/man5/drbd.conf-9.0.5.gz
/usr/share/man/ja/man5/drbd.conf.5.gz
/usr/share/man/ja/man8/drbd-8.4.8.gz
/usr/share/man/ja/man8/drbd-9.0.8.gz
/usr/share/man/ja/man8/drbd.8.gz
/usr/share/man/ja/man8/drbdadm-8.4.8.gz
/usr/share/man/ja/man8/drbdadm-9.0.8.gz
/usr/share/man/ja/man8/drbdadm.8.gz
/usr/share/man/ja/man8/drbddisk-8.4.8.gz
/usr/share/man/ja/man8/drbdmeta-8.4.8.gz
/usr/share/man/ja/man8/drbdmeta-9.0.8.gz
/usr/share/man/ja/man8/drbdmeta.8.gz
/usr/share/man/ja/man8/drbdmon-9.0.8.gz
/usr/share/man/ja/man8/drbdmon.8.gz
/usr/share/man/ja/man8/drbdsetup-8.4.8.gz
/usr/share/man/ja/man8/drbdsetup-9.0.8.gz
/usr/share/man/ja/man8/drbdsetup.8.gz
/usr/share/man/man5/drbd.conf-8.3.5.gz
/usr/share/man/man5/drbd.conf-8.4.5.gz
/usr/share/man/man5/drbd.conf-9.0.5.gz
/usr/share/man/man5/drbd.conf.5.gz
/usr/share/man/man7/[email protected]
/usr/share/man/man7/[email protected]
/usr/share/man/man7/[email protected]
/usr/share/man/man7/[email protected]
/usr/share/man/man7/[email protected]
/usr/share/man/man7/drbd.service.7.gz
/usr/share/man/man7/[email protected]
/usr/share/man/man7/[email protected]
/usr/share/man/man7/[email protected]
/usr/share/man/man8/drbd-8.3.8.gz
/usr/share/man/man8/drbd-8.4.8.gz
/usr/share/man/man8/drbd-9.0.8.gz
/usr/share/man/man8/drbd.8.gz
/usr/share/man/man8/drbdadm-8.3.8.gz
/usr/share/man/man8/drbdadm-8.4.8.gz
/usr/share/man/man8/drbdadm-9.0.8.gz
/usr/share/man/man8/drbdadm.8.gz
/usr/share/man/man8/drbddisk-8.3.8.gz
/usr/share/man/man8/drbddisk-8.4.8.gz
/usr/share/man/man8/drbdmeta-8.3.8.gz
/usr/share/man/man8/drbdmeta-8.4.8.gz
/usr/share/man/man8/drbdmeta-9.0.8.gz
/usr/share/man/man8/drbdmeta.8.gz
/usr/share/man/man8/drbdmon-9.0.8.gz
/usr/share/man/man8/drbdmon.8.gz
/usr/share/man/man8/drbdsetup-8.3.8.gz
/usr/share/man/man8/drbdsetup-8.4.8.gz
/usr/share/man/man8/drbdsetup-9.0.8.gz
/usr/share/man/man8/drbdsetup.8.gz
/var/lib/drbd

References

Summary

In this tutorial we learn how to install drbd-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).