XFS Corruption leads to a set of common issues across multiple VM's

0

I've had some XFS corruption earlier and that lead to a few common problems across the VM's. The following is the most persistent one with locale:

[root@awx01 ansible]# sha1sum  /usr/lib/locale/locale-archive /root/locale-archive
e44ac226902f43ffe0e78b103cfda23c781c4c3a  /usr/lib/locale/locale-archive
fdedd7a53eb128c4973b4437856e6b8f23ca338a  /root/locale-archive
[root@awx01 ansible]#
[root@awx01 ansible]#
[root@awx01 ansible]# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=C.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=
[root@awx01 ansible]#

Locale is set correctly on both environments, the one that works and the one with the issue:

# cat /etc/locale.conf
LANG=en_US.UTF-8

localectl also reports identical settings between the two systems:

# localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us

I've tried a few things and reinstalled glibc-common to recreate /usr/lib/locale/locale-archive but that didn't work.

What I have to do is copy the /usr/lib/locale/locale-archive from another working server after reinstalling a bunch of RPM's including glibc-common to get things resolved. But this doesn't always work, as in this case.

I wasn't able to dig further to identify the root cauese. Setting the locales naturally resolves this however this was working before the XFS issues and no explicit language settings were used before.

Where could I check to permanently resolve this? These are VMware CentOS 7 hosts.

Should note that reinstalling glibc-common doesn't fix the issue in this case.

Thx, TK

Tom K

Posted 2019-04-13T00:30:52.337

Reputation: 1

No answers