Daily Archives: December 9, 2014

How many PGs in each OSD of a Ceph cluster ?

To display how many PGs in each OSD of a Ceph cluster: $ ceph –format xml pg dump | \ xmlstarlet sel -t -m “//pg_stats/pg_stat/acting” -v osd -n | \ sort -n | uniq -c 332 0 312 1 299 … Continue reading

Posted in ceph | 3 Comments