Re: [CentOS] xfs file system errors

2018-03-18 Thread Chris Murphy
On Thu, Mar 15, 2018, 6:25 AM Jerry Geis  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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs file system errors

2018-03-15 Thread Stephen John Smoogen
On 15 March 2018 at 08:24, Jerry Geis  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
>

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.

> What am I missing ? Thanks,
>
> Jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs file system errors

2018-03-15 Thread m . roth
Jerry Geis 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 ? Thanks,

Question #0: where is the library? It's not on /dev/sda1, is it?

   mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] xfs file system errors

2018-03-15 Thread Jerry Geis
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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos