Here you go:

ps. You might have to map your poolnames to pool ids

http://cephnotes.ksperis.com/blog/2015/02/23/get-the-number-of-placement-groups-per-osd

Kind regards,
Caspar

2018-05-22 9:13 GMT+02:00 Pardhiv Karri <meher4in...@gmail.com>:

> Hi,
>
> Our ceph cluster have 12 pools and only 3 pools are really used. How can I
> see number of PGs on a OSD and which PGs belong to which pool on that OSD?
>
> Something like below,
> OSD 0 = 1000PGs (500PGs belong to PoolA, 200PGs belong to PoolB, 300PGs
> belong to PoolC)
>
> Thanks,
> Pardhiv Karri
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to