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.Fuchs@xxxxxxxxxxx To: dachun.ng@xxxxxxxxxxx; ceph-users@xxxxxxxxxxxxxx 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-bounces@xxxxxxxxxxxxxx [mailto:ceph-users-bounces@xxxxxxxxxxxxxx]
On Behalf Of Da Chun Ng
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@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com