>> 4. Revert all your reweights.
>
>Done

You mean the values in the reweight column or the weight column? Because 
from the commands in this thread I am assuming the weight column. Does 
this mean that the upmap is handling disk sizes automatically? Currently 
I am using the balancer (turned off) in crush-compat mode and have a few 
8TB disks mixed with 4TB disks.

ID CLASS WEIGHT    TYPE NAME      STATUS REWEIGHT PRI-AFF
-1       120.64897 root default
-2        30.48000     host c01
 0   hdd   8.00000         osd.0      up  1.00000 1.00000
 3   hdd   3.00000         osd.3      up  0.86809 1.00000
 6   hdd   4.00000         osd.6      up  1.00000 1.00000
 7   hdd   3.00000         osd.7      up  0.86809 1.00000
 8   hdd   4.00000         osd.8      up  1.00000 1.00000

#sets the weight (mostly disk size, first column):
ceph osd crush reweight osd.6 4

#set the reweight (2nd column)
ceph osd reweight osd.6 1
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to