It appears that pool_default_pg_num is respected during explicit pool
creation (in OSDMonitor), but not in the default OSD map construction
(OSDMap::build_simple respects osd_pg_bits instead).

So it seems that it is normal, but not necessarily desirable.  Arguably a bug.

John

On Fri, Mar 14, 2014 at 5:53 AM, axe <[email protected]> wrote:
> Yes, I have same question.
>
> -----邮件原件-----
> 发件人: [email protected]
> [mailto:[email protected]] 代表 Gandalf Corvotempesta
> 发送时间: 2014年3月13日 0:50
> 收件人: [email protected]
> 主题: [ceph-users] Wrong PG nums
>
> Hi to all
> I have this in my conf:
>
> # grep 'pg num' /etc/ceph/ceph.conf
>   osd pool default pg num = 5600
>
> But:
>
> # ceph osd pool get data pg_num
> pg_num: 64
>
> Is this normal ? Why just 64 pg was created ?
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to