zl程序教程

您现在的位置是:首页 >  其它

当前栏目

ceph PG数 告警

ceph 告警 pg
2023-09-14 09:09:51 时间

1. ceph warn

health HEALTH_WARN
too many PGs per OSD (512 > max 300)

vi /etc/ceph/ceph.conf

添加
mon_pg_warn_max_per_osd = 600


配置文件需要同步到集群每个节点

重启mon
systemctl restart ceph-mon@hostname

ubuntu系统
# /etc/init.d/vcfs restart mon

参考:
1.ceph告警问题:”too many PGs per OSD” 的解决方法,以及pg数量的合理设定