hello. I try to create rbd pool with erasure code profile and mount rbd device, but have an error when try to mkfs.xfs.
Steps to reproduce:
ceph osd erasure-code-profile set 2DC k=2 m=2 crush-failure-domain=host
ceph osd pool create ec-rbd 1024 erasure 2DC
ceph osd pool set ec-rbd allow_ec_overwrites true
ceph osd pool application enable ec-rbd rbd
rbd create rbd-pool/vladimir-hdd4 --size 5G --data-pool ec-rbd
mkfs.xfs /dev/rbd0
mkfs.xfs: Use the -f option to force overwrite.
mkfs.xfs /dev/rbd0 -f
existing superblock read failed: Input/output error
mkfs.xfs: pwrite64 failed: Input/output error