Hi Kenneth, In the case of erasure coded pools, the "Replicas" should be replaced by "K+M". $ ceph osd erasure-code-profile get myprofile k=2 m=1 plugin=jerasure technique=reed_sol_van ruleset-failure-domain=osd You have K+M=3 I proposed a fix to the documentation https://github.com/ceph/ceph/pull/1856 . If I understand correctly, this formula is more a helper than an exact count, otherwise it would be embedded into Ceph and the operator would not have to think about it. ceph --format json osd dump will show you which pool is using which profile. Cheers On 22/05/2014 14:38, Kenneth Waegeman wrote: > Hi, > > How can we apply the recommendations of the number of placement groups onto erasure-coded pools? > > (OSDs * 100) > Total PGs = ------------ > Replicas > > Shoudl we set replica = 1, or should it be set against some EC parameters? > > > Also a question about the EC profiles. > I know you can show them with 'ceph osd erasure-code-profile ls', > get or set parameters with 'ceph osd erasure-code-profile get/set', and create a pool with it with 'ceph osd create ecpool pg pgn erasure <profile>. But can you also list which pool has which profile? > > Thanks! > > Kenneth > > _______________________________________________ > ceph-users mailing list > ceph-users at lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com -- Lo?c Dachary, Artisan Logiciel Libre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140523/e9c80b7b/attachment.pgp>