Determine cephfs paths and rados objects affected by incomplete pg

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

 



I would like to track down what objects are affected by an incomplete pg and in the case of cephfs map those objects to file paths.

At the moment, the best I've come up with for mapping objects to a pg is very very slow:
pool="pool"
incomplete="1.cb7"
for object in `rados -p ${pool} ls`; do
  ceph osd map one ${object} | egrep "${incomplete}"
done

Is there not a way to ask ceph for all objects that belong to a pg?

Finally, is there a way to determine what cephfs path maps to a rados object?
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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