This is exactly what I'm looking for. Tested it in our lab and it works great. Thanks you Caspar!
Thanks,
Pardhiv Karri
On Tue, May 22, 2018 at 3:42 AM, Caspar Smit <casparsmit@xxxxxxxxxxx> wrote:
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,
Caspar2018-05-22 9:13 GMT+02:00 Pardhiv Karri <meher4india@xxxxxxxxx>:______________________________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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Pardhiv Karri
"Rise and Rise again until LAMBS become LIONS"
"Rise and Rise again until LAMBS become LIONS"
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com