3 Feb
2025
3 Feb
'25
2:07 p.m.
We need to increase the number of PG’s for a pool on a Pacific cluster. I know we can easily do that using:
ceph osd pool set $name pg_num $amount
However, the documentation [1] states (both for Pacific and for Squid) that you need to upgrade pgp_num as well. But, I seem to remember that in newer versions, pgp_num will be upgraded automatically. And this message claims that as well [2]
You set the pg_num and the balancer will split a few at a time until pgp_num reaches pg_num. At some point, ceph started complaining if you try to set pgp_num manually. -- May the most significant bit of your life be positive.