This noncritical error has been in the logs for at least four months:
$ journalctl
Apr 23 09:01:07 redacted lvm[1212]: pvscan[1212] VG vg_redacted run autoactivation.
Apr 23 09:01:07 redacted lvm[1212]: 2 logical volume(s) in volume group "vg_redacted" now active
Apr 23 09:01:07 redacted systemd[1]: Started LVM2 PV scan on device 253:0.
Apr 23 09:01:07 redacted systemd-fsck[1231]: /dev/nvme0n1p6 has unsupported feature(s): metadata_csum
Apr 23 09:01:07 redacted systemd-fsck[1231]: fsck failed with error code 8.
Apr 23 09:01:07 redacted systemd-fsck[1231]: e2fsck: Get a newer version of e2fsck!
Apr 23 09:01:07 redacted systemd-fsck[1231]: Ignoring error.
$ uname -a
Linux redacted 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -q --whatprovides $(which e2fsck)
e2fsprogs-1.42.9-19.el7.x86_64
The most recent version of e2fsprogs is 1.47. I guess I have to compile it myself. Or does someone have another solution to make the error go away?
e2fsck unsupported feature: metadata_csum
Re: e2fsck unsupported feature: metadata_csum
Best thing to do is boot a distro that does have support for that feature and run fsck from there. Once that's done look at using tune2fs to remove the feature. It's not a feature that's ever been part of CentOS 7 so the filesystem must've been created on a newer kernel and/or distro. The feature is present in EL8 and EL9 but not in EL7. Replacing the distro supplied copy of e2fsck is definitely not a good idea.
You'll want to back up anything you might miss in case removing the feature removes rather more than that!
You'll want to back up anything you might miss in case removing the feature removes rather more than that!
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke