too many PGs

Mn1sh

New Member
Mar 6, 2016
20
0
1
41
health HEALTH_WARN
too many PGs per OSD (442 > max 300)

How can we decrease PG/OSD safely? ( though this is a ceph question)
 
You can not decrease the configured number of placement groups.

If you have multiple pools you could consolidate them (PG is per pool).

You can also change the threshold at which the warnings appear by adding this to ceph.conf:

mon pg warn max per osd = 500

And of course you could add OSDs but that may become expensive