Re: How to use straw2 for new buckets

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

 



A few weeks ago I converted everything from straw to straw2 (to be able to
use the balancer) using the command:

ceph osd crush set-all-straw-buckets-to-straw2

I have now just added a new rack bucket, and moved a couple of new osd
nodes in this rack, using the commands:

ceph osd crush add-bucket Rack12-PianoAlto rack
ceph osd crush move Rack12-PianoAlto root=default
ceph osd crush move ceph-osd-06 rack=Rack12-PianoAlto
ceph osd crush move ceph-osd-07 rack=Rack12-PianoAlto

Since I see that these new entries are still using straw,  I re-run:

ceph osd crush set-all-straw-buckets-to-straw2

I am trying to understand what should be changed to have new buckets
created using straw2.

Should I change this one:

tunable straw_calc_version 1

in the crushmap ?

You should set `ceph osd cursh tunables optimal`.



k

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux