Yes, you can do that but if autoscaler is on and its mode set to "scale-down" it will increase number of PGs back to max. See autoscaler mode scale-up, in this case it's sufficient to change to that mode and autoscaler will shrink all PGs to minimal required sizes first and then after you apply max limit it will auto-adjust PGs according to that. If you turn off autoscaler you can change number of PGs at any time but keep in mind this takes a very long time and I wouldn't recommend doing that on all pools at once. If you'd like to change autoscaler policy to "scale-up" you'd better set all the pools autoscaler status to off or warn first, change this policy and then enable autoscaler one by one on each pool waiting for it to resize the pools every time before enabling another pool. Regards, Yury. On Tue, 26 Oct 2021, 20:46 Сергей Цаболов, <tsabolov@xxxxx> wrote: > Thanks for answer. > > For now my pool when I have disk of VMs > > of PGs: 510 > > Optimal # of PGs is 256 > > Can I change the PGs from 510 to 256 ? > > > 26.10.2021 12:21, Yury Kirsanov пишет: > > Yes, you can, it will rescale PGs same way as autoscaler works. Also you > > can change policy to start from low number of PGs. > > > > Regards, > > Yury. > > > > On Tue, 26 Oct 2021, 20:20 Сергей Цаболов, <tsabolov@xxxxx> wrote: > > > >> Hello to community! > >> > >> I need to advise about SPECIFYING EXPECTED POOL SIZE > >> In the page > >> https://docs.ceph.com/en/latest/rados/operations/placement-groups/ I > >> found Part > >> > >> SPECIFYING EXPECTED POOL SIZE and can to increase some of my pool to > >> have more of TB > >> > >> command is ceph osd pool set mypool target_size_bytes 100T > >> > >> But my question is can i set this command on pool when I have data (all > >> disk of VMs and is working now)? > >> > >> Because on start of SPECIFYING EXPECTED POOL SIZE say about When a > >> cluster or pool is first created > >> > >> Thank you. > >> > >> > >> > >> > >> > >> > >> -- > >> ------------------------- > >> Sergey TS > >> With Best Regard > >> > >> _______________________________________________ > >> ceph-users mailing list -- ceph-users@xxxxxxx > >> To unsubscribe send an email to ceph-users-leave@xxxxxxx > >> > > _______________________________________________ > > ceph-users mailing list -- ceph-users@xxxxxxx > > To unsubscribe send an email to ceph-users-leave@xxxxxxx > > -- > ------------------------- > Sergey TS > With Best Regard > > _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx