How To Install xfsprogs-xfs_scrub on Fedora 36

In this tutorial we learn how to install xfsprogs-xfs_scrub in Fedora 36. xfsprogs-xfs_scrub is XFS filesystem online scrubbing utilities

Introduction

In this tutorial we learn how to install xfsprogs-xfs_scrub on Fedora 36.

What is xfsprogs-xfs_scrub

xfs_scrub attempts to check and repair all metadata in a mounted XFS filesystem. WARNING! This program is EXPERIMENTAL, which means that its behavior and interface could change at any time!

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

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

sudo dnf -y install xfsprogs-xfs_scrub

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

sudo yum -y install xfsprogs-xfs_scrub

How To Uninstall xfsprogs-xfs_scrub on Fedora 36

To uninstall only the xfsprogs-xfs_scrub package we can use the following command:

sudo dnf remove xfsprogs-xfs_scrub

xfsprogs-xfs_scrub Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4c/1c0c4062e50cab411eaa29980cbccd28f3c474
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/xfs_scrub_all.service
/usr/lib/systemd/system/xfs_scrub_all.timer
/usr/lib/systemd/system/[email protected]
/usr/lib64/xfsprogs/xfs_scrub_all.cron
/usr/lib64/xfsprogs/xfs_scrub_fail
/usr/sbin/xfs_scrub
/usr/sbin/xfs_scrub_all
/usr/share/man/man8/xfs_scrub.8.gz
/usr/share/man/man8/xfs_scrub_all.8.gz

References

Summary

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