e2fsck unsupported feature: metadata_csum

General support questions
Post Reply
Storhaug
Posts: 7
Joined: 2016/01/21 17:55:14

e2fsck unsupported feature: metadata_csum

Post by Storhaug » 2023/04/23 18:13:31

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?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: e2fsck unsupported feature: metadata_csum

Post by TrevorH » 2023/04/23 23:02:33

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!
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply