pveceph pool create cephfs_ec --erasure-coding k=2,m=1
ceph osd pool application enable cephfs_ec-data cephfs --yes-i-really-mean-it
ceph osd pool application disable cephfs_ec-data rbd --yes-i-really-mean-it
ceph fs add_data_pool cephfs cephfs_ec-data
mkdir /mnt/pve/cephfs/ec
setfattr -n ceph.dir.layout.pool -v cephfs_ec-data /mnt/pve/cephfs/ec