On 03/05/2019 17:45, Robert Sander wrote:
Hi,

I would be glad if anybody could give me a tip for an erasure code
profile and an associated crush ruleset.

The cluster spans 2 rooms with each room containing 6 hosts and each
host has 12 to 16 OSDs.

The failure domain would be the room level, i.e. data should survive if
one of the rooms has a power loss.

Is that even possible with erasure coding?
I am only coming up with profiles where m=6, but that seems to be a
little overkill.

Regards


_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


i think if you have k=m it should work: k=2,m=2 k=3,m=3 ..etc

for k=3 m=3 the rule could be something like:
type erasure
min_size 6
max_size 6
step set_chooseleaf_tries 5
step set_choose_tries 100
step take default
step choose indep 2 type room
step chooseleaf indep 3 type host
step emit

/Maged
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to