是否有可能减少特定池的 pg_num
Is it ever possible to reduce pg_num for specific pool
很遗憾,我发现 ceph
cli 不允许为特定 pool
降低 pg_num
的值。
ceph osd pool set .rgw.root pg_num 32
错误显示:
Error EEXIST: specified pg_num 32 <= current 128
来自 placement-groups is about to tell me what is it and how to set the best value of it. But there is seldom any tutorial about how to reduce the pg_num
without re-installing ceph or delete the pool firstly, like ceph-reduce-the-pg-number-on-a-pool 的教程。
现有的 SO 线程 向我们展示了如何确定最佳值。如果我遇到了这个问题,我该如何从混乱中恢复过来?
如果降低价值并不容易pg_num,背后的故事是什么?为什么ceph
不暴露接口来reduce呢?
很遗憾,我发现 ceph
cli 不允许为特定 pool
降低 pg_num
的值。
ceph osd pool set .rgw.root pg_num 32
错误显示:
Error EEXIST: specified pg_num 32 <= current 128
来自 placement-groups is about to tell me what is it and how to set the best value of it. But there is seldom any tutorial about how to reduce the pg_num
without re-installing ceph or delete the pool firstly, like ceph-reduce-the-pg-number-on-a-pool 的教程。
现有的 SO 线程
如果降低价值并不容易pg_num,背后的故事是什么?为什么ceph
不暴露接口来reduce呢?