I don't think so, check this out: # id weight type name up/down reweight -6 3.05 root ssd -7 0.04999 host ceph-01-ssd 11 0.04999 osd.11 up 1 -8 1 host ceph-02-ssd 12 0.04999 osd.12 up 1 -9 1 host ceph-03-ssd 13 0.03999 osd.13 up 1 -10 1 host ceph-04-ssd 14 0.03999 osd.14 up 1 As you can see, only host ceph-01-ssd has the same weight as its osd, the other three hosts have weight "1" which is different from their associated osd. If the weight of the host -should- be the sum of all osd weights on this hosts, then my question becomes: how do I make that so for the three hosts where this is currently not the case? Thanks, Erik. On 20-10-14 03:55, Lei Dong wrote: > According to my understanding, the weight of a host is the sum of all osd > weights on this host. So you just reweight any osd on this host, the > weight of this host is reweighed. > > Thanks > LeiDong > > On 10/20/14, 7:11 AM, "Erik Logtenberg" <erik@xxxxxxxxxxxxx> wrote: > >> Hi, >> >> Simple question: how do I reweight a host in crushmap? >> >> I can use "ceph osd crush reweight" to reweight an osd, but I would like >> to change the weight of a host instead. >> >> I tried exporting the crushmap, but I noticed that the weights of all >> hosts are commented out, like so: >> >> # weight 5.460 >> >> And they are not the same values as seen in "ceph osd tree". >> >> So how do I keep everything as it currently it, but simply change one >> single weight of one single host? >> >> Thanks, >> >> Erik. >> _______________________________________________ >> ceph-users mailing list >> ceph-users@xxxxxxxxxxxxxx >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com