Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


repair_xfs_filesystem

This is an old revision of the document!


Repair XFS Filesystem (CentOS 7)

Obtain a rescue CD.

Hopefully the machine is still up and running, or can get to that point, so do the following:

df -hP

and note the device your problematic mount is located on.

devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
/dev/sda3        96G  4.8G   91G   5% /
/dev/sda1      1014M  224M  791M  23% /boot

For example, let's assume it is /dev/sda3

Now follow steps in https://www.golinuxcloud.com/e2fsck-repair-filesystem-in-rescue-mode-ext4/

repair_xfs_filesystem.1619729147.txt.gz · Last modified: 2021/04/29 16:45 by juckins