Hi Mika, The below command will set ruleset to the pool: ceph osd pool set <poolname> crush_ruleset 1 For more info :
http://ceph.com/docs/master/rados/operations/crush-map/ Thanks Sahana From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx]
On Behalf Of Vickie ch Hi , CRUSH map have two parameter are "min_size" and "max_size". Explanation about min_size is "If a pool makes fewer replicas than this number, CRUSH will
NOT select this rule". The max_size is "If a pool makes more replicas than this number, CRUSH will
NOT select this rule" Default setting of pool replicate size is 1.
But found pool "test" apply ruleset0. Which part I missing? Thanks a lot for any advice! Best wishes, Mika PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies). |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com