Xfs File System Errors

Home » CentOS » Xfs File System Errors
CentOS 3 Comments

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 ? Thanks,

Jerry

3 thoughts on - Xfs File System Errors

  • The rescue mode is not the same as an ISO rescue mode. [It is badly named. I guess the boot time option for rescue mode is trying to mimic the F8 Windows Rescue ] So it relies on data which is on your working disk system in order to fix simple problems. If your disk structure is bad then you need to use an ISO rescue mode.

  • 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