[CentOS] xfs file system errors

Sun Mar 18 07:37:44 UTC 2018
Chris Murphy <lists at colorremedies.com>

On Thu, Mar 15, 2018, 6:25 AM Jerry Geis <jerry.geis at gmail.com> wrote:

> How do I fix an xfs file system error ?
> I searched and it says to run xfs_repair /dev/sda1 - did not work.
> I got an error on boot and the machine dropped into service mode by
> entering the PW. I entered the above command and it said couldnt load
> library...
> SO I rebooted, dropped into rescue mode. Again I entered the command above
> and it said teh same thing.something about could not load library
> What am I missing ?

Without any logs or screenshots it's a guess.

My guess, it's mounting rootfs, runs into an errand and goes readonly. But
is still mounted. Therefore xfs_repair runs off the problem volume.

Boot using param rd.break=pre-mount

Now there is no mount of rootfs, and xfs_repair runs from the initramfs.

But 9 times out of 10, you're better off with the latest Fedora install
media (any) on a USB stick. Newer kernel and progs.

Ok maybe even 10 out of 10.

Chris Murphy