Re: [ceph-users] Is it possible to change the pg number after adding new osds?
2 days ago I increase it for one pool and trying to reduce for others. Reducing don't work (for me? - "repair" freezed, but rollung back - up - is good), increasing is good. I understand next: pgp_num is temporary parameter to change pg_num. Data actually distributed over pgp_num, but allocated PGs - pg_num. So, for increasing, first - change pg_num, then wait and change pgp_num. Da Chun Ng пишет: > Only pgp_num is listed in the reference. Though pg_num can be changed in the > same way, is there any risk to do that? > > From: andreas.fu...@swisstxt.ch > To: dachun...@outlook.com; ceph-users@lists.ceph.com > Subject: RE: [ceph-users] Is it possible to change the pg number after adding > new osds? > Date: Mon, 2 Sep 2013 09:02:15 + > > > > > > > > > > You can change the pg numbers on the fly with > > ceph osd pool set {pool_name} pg_num {value} > ceph osd pool set {pool_name} pgp_num {value} > > refrence: http://ceph.com/docs/master/rados/operations/pools/ > > > > From: ceph-users-boun...@lists.ceph.com > [mailto:ceph-users-boun...@lists.ceph.com] > On Behalf Of Da Chun Ng > > Sent: Montag, 2. September 2013 04:49 > > To: ceph-users@lists.ceph.com > > Subject: [ceph-users] Is it possible to change the pg number after adding new > osds? > > > > > According to the doc, the pg numbers should be enlarged for better read/write > balance if the osd number is increased. > > But seems the pg number cannot be changed on the fly. It's fixed when the > pool is created. Am I right? > > > > > > > ___ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- WBR, Dzianis Kahanovich AKA Denis Kaganovich, http://mahatma.bspu.unibel.by/ ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Is it possible to change the pg number after adding new osds?
On Mon, 2 Sep 2013, Da Chun Ng wrote: > According to the doc, the pg numbers should be enlarged for better > read/write balance if the osd number is increased.But seems the pg number > cannot be changed on the fly. It's fixed when the pool is created. Am I > right? It can be increased with ceph osd pool set pg_num ceph osd pool set pgp_num ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Is it possible to change the pg number after adding new osds?
Only pgp_num is listed in the reference. Though pg_num can be changed in the same way, is there any risk to do that? From: andreas.fu...@swisstxt.ch To: dachun...@outlook.com; ceph-users@lists.ceph.com Subject: RE: [ceph-users] Is it possible to change the pg number after adding new osds? Date: Mon, 2 Sep 2013 09:02:15 + You can change the pg numbers on the fly with ceph osd pool set {pool_name} pg_num {value} ceph osd pool set {pool_name} pgp_num {value} refrence: http://ceph.com/docs/master/rados/operations/pools/ From: ceph-users-boun...@lists.ceph.com [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Da Chun Ng Sent: Montag, 2. September 2013 04:49 To: ceph-users@lists.ceph.com Subject: [ceph-users] Is it possible to change the pg number after adding new osds? According to the doc, the pg numbers should be enlarged for better read/write balance if the osd number is increased. But seems the pg number cannot be changed on the fly. It's fixed when the pool is created. Am I right? ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Is it possible to change the pg number after adding new osds?
You can change the pg numbers on the fly with ceph osd pool set {pool_name} pg_num {value} ceph osd pool set {pool_name} pgp_num {value} refrence: http://ceph.com/docs/master/rados/operations/pools/ From: ceph-users-boun...@lists.ceph.com [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Da Chun Ng Sent: Montag, 2. September 2013 04:49 To: ceph-users@lists.ceph.com Subject: [ceph-users] Is it possible to change the pg number after adding new osds? According to the doc, the pg numbers should be enlarged for better read/write balance if the osd number is increased. But seems the pg number cannot be changed on the fly. It's fixed when the pool is created. Am I right? ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] Is it possible to change the pg number after adding new osds?
According to the doc, the pg numbers should be enlarged for better read/write balance if the osd number is increased.But seems the pg number cannot be changed on the fly. It's fixed when the pool is created. Am I right? ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com