On 14/10/2026 11:37, Loïc Tortay wrote:
Hello, For one of our CephFS clusters, we need to increase the number of PGs in the main data pool from 8192 to 16384. We have also received new nodes to increase the capacity of this cluster, an almost 50% increase in capacity/number of nodes.
We plan to use "upmap-remapped.py" as described in https://docs.clyso.com/docs/kb/rados/adding-hosts-osds/ and https://docs.clyso.com/docs/kb/rados/pg-splitting-with-upmap-remapped/
Is is safe/OK to combine the two operations ?
That is: - disable rebalance/the balancer - "apply" the OSDs YAML, the new hosts are already added to the cluster - run upmap-remapped.py a few times until the number of misplaced objects is low - increase the number of PGs in the pool - run upmap-remapped.py until "pg_num" has reached the new value - re-enable rebalance/the balancer
Or is it safer/recommended to do this in two distinct operations ?
Hello, As a followup for the archives: it works. However, before doing such a massive change (in terms of rebalance), there must be a lot of available space on the OSDs in the metadata pool (hundreds of GiB *per* OSD, in our case 250+ GiB). Since very many versions of the OSDmap will be kept during the whole rebalance, the OSD must have room to avoid being filled up completely (and breaking the cluster badly). This is mentionned in the *developper* documentation (and the behaviour was described on the list by Sinan P.): https://docs.ceph.com/en/squid/dev/mon-osdmap-prune/ The MON DB store usage also increased enormously, we had to increase the local FS size from 32 to 256 GiB on the MONs and increase the warning threshold (in multiple steps). Loïc. -- | Loic Tortay <tortay@cc.in2p3.fr> - IN2P3 Computing Centre |