Actions
Bug #14929
closedosd: can only reduce the weight of osd, the use of "ceph osd reweight-by-utilization"
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The osd on the node181 weight has been reduced when use "ceph osd reweight-by-utilization 101"
[root@node173 ceph-0.94.5]# ceph osd tree ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY -4 0 root a -1 1.45995 root default -2 1.15997 host node181 0 0.07999 osd.0 up 0.75380 1.00000 2 0.07999 osd.2 up 0.75380 1.00000 1 1.00000 osd.1 up 0.37688 1.00000 -3 0.29997 host node173 3 0.09999 osd.3 up 1.00000 1.00000 4 0.09999 osd.4 up 1.00000 1.00000 5 0.09999 osd.5 up 1.00000 1.00000 [root@node173 ceph-0.94.5]# ceph osd reweight-by-utilization 101 SUCCESSFUL reweight-by-utilization: average 0.729164, overload 0.736456. reweighted: osd.0 [0.753799 -> 0.711777], osd.1 [0.376877 -> 0.355865], osd.2 [0.753799 -> 0.711777], [root@node173 ceph-0.94.5]# ceph osd reweight-by-utilization 101 SUCCESSFUL reweight-by-utilization: average 0.729446, overload 0.736740. reweighted: osd.0 [0.672302 -> 0.635010], osd.1 [0.336136 -> 0.317505], osd.2 [0.672302 -> 0.635010],
I want to increase the osd node181 weight, use the command "ceph osd reweight-by-utilization 110"
but only hint: "no change: average 0.730862, overload 0.803948. reweighted: (none)"
I tried the number between 110 ~ 200, is the tip
[root@node173 ceph-0.94.5]# ceph osd reweight-by-utilization 101 SUCCESSFUL reweight-by-utilization: average 0.730363, overload 0.737667. reweighted: osd.0 [0.565125 -> 0.532349], osd.1 [0.282547 -> 0.266159], osd.2 [0.565125 -> 0.532349], [root@node173 ceph-0.94.5]# ceph osd reweight-by-utilization 110 no change: average 0.730862, overload 0.803948. reweighted: (none)
Actions