:: krowemoh

Friday | 27 DEC 2024
Posts Links Other About Now

previous
next

xfs_repair

2023-11-11
cheatsheet

A cheatsheet to fixing up xfs issues.

Check what the filesystem type is:

df -T

xfs_repair requires the folder to be unmounted, both to fix the device and to check for errors.

umount /home

If the folder is busy and you need to find out which processes are in it:

fuser -um /home

Kill the processes:

fuser -km /home

If you need to install fuser:

yum install psmisc

Check for errors on the device:

xfs_repair -n /dev/sda5