How to adjust pg by common commands in Ceph
This article will explain in detail how to adjust the pg of common Ceph commands. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
When there is a serious uneven distribution of pg in the cluster, a tool for automatic adjustment of reweight is provided inside ceph:
Ceph osd reweight-by-utilization
Of course, you can also make manual adjustments, such as:
$ceph osd tree | grep osd.11 3 osd.1 up 1$ ceph osd crush reweight osd.1 3.05reweighted item id 1 name 'osd.1' to 3.05 in crush map$ ceph osd tree | grep osd.11 3.05 osd.1 up 1 on "how to adjust pg for common Ceph commands" ends here. I hope the above content can be helpful to you, so that you can learn more knowledge. If you think the article is good, please share it for more people to see.