So, my pool size has increased to a point where the autoscaler did suggest an increase of pg_num (from 100 to 512). Autoscaler mode is “on”, but no change happens..
ceph osd pool ls detail reports: … pool 10 'rbd1' replicated size 1 min_size 1 crush_rule 0 object_hash rjenkins pg_num 100 pgp_num 100 pg_num_target 512 pgp_num_target 512 autoscale_mode on last_change 3007 flags hashpspool,selfmanaged_snaps,creating stripe_width 0 application rbd … For the pool in question, but no pg resizing activity. I also tried manually, and nothing happens. No errors in the logs either. Anybody has any thoughts? How can I change pg_num (and also pgp_num)? Thanks! George > On Sep 12, 2019, at 7:49 AM, Kyriazis, George <george.kyria...@intel.com> > wrote: > > Hi Burkhard, > > I tried using the autoscaler, however it did not give a suggestion to resize > pg_num. Since my pg_num is not a power of 2, I wanted to fix that first, > manually, to only realize that it didn’t work. > > Because changing pg_num manually did not work, I am not convinced that the > autoscaler will work, either, when the time comes. The autoscaler pg_num > changes would follow the same execution path as manual changes, won’t they? > > Thanks! > > George > >> On Sep 12, 2019, at 4:37 AM, Burkhard Linke >> <burkhard.li...@computational.bio.uni-giessen.de> wrote: >> >> Hi, >> >> On 9/12/19 5:16 AM, Kyriazis, George wrote: >>> Ok, after all is settled, I tried changing pg_num again on my pool and it >>> still didn’t work: >>> >>> # ceph osd pool get rbd1 pg_num >>> pg_num: 100 >>> # ceph osd pool set rbd1 pg_num 128 >>> # ceph osd pool get rbd1 pg_num >>> pg_num: 100 >>> # ceph osd require-osd-release nautilus >>> # ceph osd pool set rbd1 pg_num 128 >>> # ceph osd pool get rbd1 pg_num >>> pg_num: 100 >>> # >>> >>> Suggestions, anybody? >> >> >> If you use the autoscaler, changing pg_num will actually change the >> pg_num_target setting. The autoscaler will then take care for gently >> increasing pg_num until it reaches the value of pg_num_target. >> >> >> Regards, >> >> Burkhard >> >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com