Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

1 pool(s) have non-power-of-two pg_num

Hello!

After update from 2.5.3 to 2.7.1 i have:

health: HEALTH_WARN
1 pool(s) have non-power-of-two pg_num

According this: https://docs.ceph.com/en/latest/rados/operations/health-checks/#pool-pg-num-not-power-of-two
i have to add key "mon_warn_on_pool_pg_num_not_power_of_two false" to ceph configuration.

But i can't find it in list of available keys in WEB.

How can i add it?

ceph config set mon.* mon_warn_on_pool_pg_num_not_power_of_two false

Thanks!

I have this key in my configuration now:

root@sds-osd-101:~# ceph daemon /var/run/ceph/ceph-mon.*.asok config show |grep mon_warn_on_pool_pg
"mon_warn_on_pool_pg_num_not_power_of_two": "false",
root@sds-osd-101:~#

But i still have HEALTH_WARN in cluster:

root@sds-osd-101:~# ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
POOL_PG_NUM_NOT_POWER_OF_TWO 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10240 is not a power of two

How else can i fix it?

Same for me. By the way, is it normal that this parameter appears 4 times in the configuration ?

 

PARAMETERS

UPDATE: now the health is OK, maybe some time is needed after changing parameter from true to false.