Thank you everyone for your feedback! Regards,
Andrey Ptashnik From: David Turner <david.tur...@storagecraft.com<mailto:david.tur...@storagecraft.com>> Date: Friday, November 4, 2016 at 12:13 PM To: Andrey Ptashnik <aptash...@cccis.com<mailto:aptash...@cccis.com>>, Vasu Kulkarni <vakul...@redhat.com<mailto:vakul...@redhat.com>> Cc: "ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>" <ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>> Subject: RE: [ceph-users] Adjust PG PGP placement groups on the fly You are correct, you do not need to wait for the rebalance to finish before continuing. There is a lot of information about increasing your pg_num on a production system. The general concensus it to not increase it by more than 256 at a time. That is to prevent too much peering to happen at once. ________________________________ [cid:imagea12842.JPG@89aa7efa.409084a9]<https://storagecraft.com> David Turner | Cloud Operations Engineer | StorageCraft Technology Corporation<https://storagecraft.com> 380 Data Drive Suite 300 | Draper | Utah | 84020 Office: 801.871.2760 | Mobile: 385.224.2943 ________________________________ If you are not the intended recipient of this message or received it erroneously, please notify the sender and delete it, together with any attachments, and be advised that any dissemination or copying of this message is prohibited. ________________________________ ________________________________ From: ceph-users [ceph-users-boun...@lists.ceph.com<mailto:ceph-users-boun...@lists.ceph.com>] on behalf of Andrey Ptashnik [aptash...@cccis.com<mailto:aptash...@cccis.com>] Sent: Friday, November 04, 2016 11:10 AM To: Vasu Kulkarni Cc: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com> Subject: Re: [ceph-users] Adjust PG PGP placement groups on the fly Hi Vasu, Thank you for your input! I was very hesitant in changing those on a live system. As I understand I don’t need to wait for a cluster to re-balance between PG and PGP commands, right? Regards, Andrey Ptashnik From: Vasu Kulkarni <vakul...@redhat.com<mailto:vakul...@redhat.com>> Date: Friday, November 4, 2016 at 12:00 PM To: Andrey Ptashnik <aptash...@cccis.com<mailto:aptash...@cccis.com>> Cc: "ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>" <ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>> Subject: Re: [ceph-users] Adjust PG PGP placement groups on the fly from the docs (also important to read what pgp_num does): http://docs.ceph.com/docs/jewel/rados/operations/placement-groups/ To set the number of placement groups in a pool, you must specify the number of placement groups at the time you create the pool. See Create a Pool for details. Once you’ve set placement groups for a pool, you may increase the number of placement groups (but you cannot decrease the number of placement groups). To increase the number of placement groups, execute the following: ceph osd pool set {pool-name} pg_num {pg_num} Once you increase the number of placement groups, you must also increase the number of placement groups for placement (pgp_num) before your cluster will rebalance. The pgp_num will be the number of placement groups that will be considered for placement by the CRUSH algorithm. Increasing pg_num splits the placement groups but data will not be migrated to the newer placement groups until placement groups for placement, ie. pgp_num is increased. The pgp_num should be equal to the pg_num. To increase the number of placement groups for placement, execute the following ceph osd pool set {pool-name} pgp_num {pgp_num} On Fri, Nov 4, 2016 at 9:52 AM, Andrey Ptashnik <aptash...@cccis.com<mailto:aptash...@cccis.com>> wrote: Hello Ceph team, Is it possible to increase number of placement groups on a live system without any issues and data loss? If so what is the correct sequence of steps? Regards, Andrey Ptashnik _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com<mailto: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