On 08/18/2014 01:49 PM, Sage Weil wrote:
On Mon, 18 Aug 2014, John Morris wrote:
rule by_bank {
         ruleset 3
         type replicated
         min_size 3
         max_size 4
         step take default
         step choose firstn 0 type bank
         step choose firstn 0 type osd
         step emit
}

You probably want:

          step choose firstn 0 type bank
          step choose firstn 1 type osd

I.e., 3 (or 4) banks, and 1 osd in each.. not 3 banks with 3 osds in each
or 4 banks with 4 osds in each (for a total of 9 or 16 OSDs).

Yes, thanks. Funny, testing still works with the incorrect version, and the --show-utilization test results look similar.

In re. to my last email about tunables, those can also be expressed in the human-readable map as such:

tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50

        John



sage
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to