2.2.24 xfs Feature Incompatible With RedHat Compatible Kernel (RHCK)

The xfsprogs (3.2.0) user space tool introduced a new superblock format (v5) that includes a metadata checksum scheme. While this feature is supported in UEK R4, it is not currently supported on RHCK. If an xfs file system is created on a system running UEK R4, where cyclic redundancy checking (CRC) is enabled, mkfs.xfs generates the v5 superblock automatically and the file system can no longer be mounted on a system running RHCK. The following error is returned:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail ..."

To check the superblock version number, you can run:

sudo xfs_db -r -c "sb" -c p /dev/sdb1 | grep versionnum

This command returns the hexadecimal value of 0xb4a5 for a file system formatted with a v5 superblock that requires CRC support in the kernel.

Do not try to mount a metadata CRC enabled xfs file system on an RHCK, since it does not support this functionality. (Bug ID 25489518)