Enabling the KSAL EC Algorithm
Create an EC storage pool and enable the KSAL EC feature.
For details about how to create an EC storage pool, see "Verifying Ceph > Creating a Storage Pool > Creating a Storage Pool in EC Mode" in Ceph Object Storage Deployment Guide (CentOS 7.6 & openEuler 20.03).
When creating an EC profile, you need to enable the KSAL plugin, that is, add the plugin=ksal parameter. Therefore, when creating an EC profile, run the following command instead of the command in the reference:
ceph osd erasure-code-profile set myprofile k=4 m=2 crush-failure-domain=osd crush-device-class=hdd plugin=ksal
If the number of nodes in the cluster is greater than or equal to 6 (k+m), you can set crush-failure-domain to host.
Parent topic: Compiling and Deploying Ceph