创建EC存储池使能KSAL EC特性。
请参见《Ceph对象存储 部署指南(CentOS 7.6&openEuler 20.03)》中的“创建EC存储池”相关内容,完成EC存储池的创建。
1 | ceph osd erasure-code-profile set myprofile k=4 m=2 crush-failure-domain=osd crush-device-class=hdd plugin=ksal |
当集群的节点数量大于等于6(k+m)时,“crush-failure-domain”可以配置成host。