Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to adjust pg by common commands in Ceph

Shulou Source: shulou.com Published: 2022-06-01 02:55:13 10月04日 Update

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.

Tags: Adjustments articles commands commonly used more uneven good practical content tools manual articles knowledge clusters references help related adjustments Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info Huawei Microsoft MySQL