On Wed, Jun 8, 2016 at 8:22 AM, George Shuklin <george.shuk...@gmail.com> wrote:
> Hello.
>
> Can someone help me to see difference between step choose and step
> chooseleaf in CRUSH map?

When you run "choose" on a CRUSH bucket type, it selects CRUSH bucket
nodes of that type. If you run chooseleaf, it selects leaf nodes
underneath that bucket type (ie, it goes all the way down the tree to
picking specifics OSDs). If you're doing a simple map where you want
to separate all copies across racks, or OSDs, or whatever, it's
generally best to just use chooseleaf on your failure domain. If
you're trying to do something more complicated like run 2x2 or
something, you'll want to choose your way down to the split points and
then run chooseleaf to go the rest of the way.
-Greg
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to