As the doc
http://ceph.com/docs/master/rados/operations/placement-groups/
I get this formula:
(OSDs * 100)
Total PGs =
Replicas
In my ceph cluster have 1 pool, 5 osds,2 replicas, so I have set pg_num
to 250.
one day , i ned to add a pool(2 pools), what
CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz *2
MEM: 32GB
KVM: qemu-kvm-0.12.1.2-2.355.el6.2.cuttlefish.async.x86_64
Host: CentOS 6.4, kernel 2.6.32-358.14.1.el6.x86_64
Guest: CentOS 6.4, kernel 2.6.32-279.14.1.el6.x86_64
Ceph: ceph version 0.67.4 (ad85b8bfafea6232d64cb7ba76a8b6e8252fa0c7)