Create the EC pool
ceph osd pool create <poolname> 32 32 erasure profile-4-2-hdd ceph osd pool set <poolname> crush_rule ecrule-4-2-hdd ceph osd pool set <poolname> allow_ec_overwrites true |
Create the metadata pool in replica3:
ceph osd pool create metadata-<poolname> 32 32 ceph osd pool set metadata-<poolname> crush_rule replicated_hdd |
Assumo che ci siano gia' degli OSD che sono stati messi nella device class hdd-cephfs (v. PDCL-2592)
[root@ceph-mon-01 ~]# ceph osd crush rule create-replicated replicated_hdd-cephfs default host hdd-cephfs