【ceph | 运维】too few PGs per OSD的解决方法

 关于too few PGs per OSD的问题

在一个ceph集群中,操作创建一个pool后,发现ceph的集群处于warning状态,信息如下:

【解法办法:修改pool的pg数量】

1. 调大pg的数量

[root@serverc ~]# ceph osd pool set images pg_num 128
set pool 1 pg_num to 128

继续修改PGS:

[root@serverc ~]# ceph osd pool set images pgp_num 128
set pool 1 pgp_num to 128

参考资料

1. ceph关于too few PGs per OSD的问题

原文地址:https://www.cnblogs.com/sunbines/p/15528341.html