当前位置:网站首页>【Ceph】1 pools have many more objects per pg than average

【Ceph】1 pools have many more objects per pg than average

2020-12-07 19:20:47 runzhliu

company Ceph Cluster from v12 Upgrade to v14 after , Today some CephFS The cluster received a HEALTH_WARN Alarm of , Concrete Warning The message is 1 pools have many more objects per pg than average.

It's obviously pg The number is set too little , Cause some pg There are too many objects in , It's estimated to be more than the default one Limit, That's why Warning Information about , The solution is simple , Just take a look at all the Pool Of PG Count , See which one is less , According to the formula, add it roughly .

ceph osd pool set  cephfs_metadata pg_num 64
ceph osd pool set  cephfs_metadata pgp_num 64

After the change Ceph The state of the cluster changes to HEALTH_OK .

Original statement , This article is authorized by the author + Community publication , Unauthorized , Shall not be reproduced .

If there is any infringement , Please contact the yunjia_community@tencent.com Delete .

版权声明
本文为[runzhliu]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/11/202011150815583152.html