adding crush ruleset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need to add a more complex crush ruleset to a cluster and was trying
to script that as I'll need to do it often.

Is there any way to create these other than manually editing the crush map?

This is to create a k=4 + m=2 across 3 rooms, with 2 parts in each room
The ruleset would be something like (haven't tried/tuned the rule):

rule xxx {
   type erasure
   min_size 5
   max_size 6
   step set_chooseleaf_tries 5
   step set_choose_tries 100
   step take default
   step choose indep 3 type room
   step chooseleaf indep 2 type host
}

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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux