Re: List pg with heavily degraded objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Den fre 10 sep. 2021 kl 13:55 skrev George Shuklin <george.shuklin@xxxxxxxxx>:
> 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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux