How To Install rbd-mirror on Fedora 36

In this tutorial we learn how to install rbd-mirror in Fedora 36. rbd-mirror is Ceph daemon for mirroring RBD images

Introduction

In this tutorial we learn how to install rbd-mirror on Fedora 36.

What is rbd-mirror

Daemon for mirroring RBD images between Ceph clusters, streaming changes asynchronously.

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

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

sudo dnf -y install rbd-mirror

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

sudo yum -y install rbd-mirror

How To Uninstall rbd-mirror on Fedora 36

To uninstall only the rbd-mirror package we can use the following command:

sudo dnf remove rbd-mirror

rbd-mirror Package Contents on Fedora 36

/usr/bin/rbd-mirror
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/00a8ddc6668093cdc0bb288b125f9689febe71
/usr/lib/systemd/system/ceph-rbd-mirror.target
/usr/lib/systemd/system/[email protected]
/usr/share/man/man8/rbd-mirror.8.gz

References

Summary

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