The underlying issue here is the same as of bug 1965587 (mkfs.xfs sets '-m reflink=1' by default, which is not supported by centos70 kernel.)
With the workaround from there, XFS on MD-RAID0 works.
[centos@z-rotomvm22 ~]$ uname -rv 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021
[centos@z-rotomvm22 ~]$ mount | grep -w xfs /dev/md0 on /xfs-raid0 type xfs (rw,relatime,seclabel,attr2,inode64,sunit=1024,swidth=3072,noquota)
[centos@z-rotomvm22 ~]$ dmesg | grep -iw xfs [ 3.573489] SGI XFS with ACLs, security attributes, no debug enabled [ 3.599751] XFS (md0): Mounting V5 Filesystem [ 3.625700] XFS (md0): Ending clean mount
[centos@z-rotomvm22 ~]$ cat /proc/mdstat Personalities : [raid0] md0 : active raid0 vda4[1] vda3[0] vda5[2] 2918400 blocks super 1.2 512k chunks
unused devices: <none>
The underlying issue here is the same as of bug 1965587
(mkfs.xfs sets '-m reflink=1' by default, which is not
supported by centos70 kernel.)
With the workaround from there, XFS on MD-RAID0 works.
[centos@ z-rotomvm22 ~]$ uname -rv 1160.45. 1.el7.x86_ 64 #1 SMP Wed Oct 13 17:20:51 UTC 2021
3.10.0-
[centos@ z-rotomvm22 ~]$ mount | grep -w xfs seclabel, attr2,inode64, sunit=1024, swidth= 3072,noquota)
/dev/md0 on /xfs-raid0 type xfs (rw,relatime,
[centos@ z-rotomvm22 ~]$ dmesg | grep -iw xfs
[ 3.573489] SGI XFS with ACLs, security attributes, no debug enabled
[ 3.599751] XFS (md0): Mounting V5 Filesystem
[ 3.625700] XFS (md0): Ending clean mount
[centos@ z-rotomvm22 ~]$ cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 vda4[1] vda3[0] vda5[2]
2918400 blocks super 1.2 512k chunks
unused devices: <none>