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 +0000
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 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

Reply via email to