Den fre 10 sep. 2021 kl 13:55 skrev George Shuklin <george.shuk...@gmail.com>:
> Hello.
> I wonder if there is a way to see how many replicas are available for
> each object (or, at least, PG-level statistics). Basically, if I have
> damaged cluster, I want to see the scale of damage, and I want to see
> the most degraded objects (which has 1 copy, then objects with 2 copies,
> etc).
> Are there a way? pg list is not very informative, as it does not show
> how badly 'unreplicated' data are.

ceph pg dump should list all PGs and how many active OSDs they have in
a list like this:
[12,34,78,56], [12,34,2134872348723,56]

for which four (in my example) that should hold a replica to this PG,
and the second list is who actually hold one, with 2^31-1 as a
placeholder for UNKNOWN-OSD-NUMBER where an OSD is missing.


-- 
May the most significant bit of your life be positive.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to