You need to use the first stripe of the object as that is the only one with the metadata.
Try "rados -p ec31 getxattr 10004dfce92.00000000 parent" instead. Robert LeBlanc Sent from a mobile device, please excuse any typos. On Fri, May 24, 2019, 4:42 AM Kevin Flöh <[email protected]> wrote: > Hi, > > we already tried "rados -p ec31 getxattr 10004dfce92.0000003d parent" but > this is just hanging forever if we are looking for unfound objects. It > works fine for all other objects. > > We also tried scanning the ceph directory with find -inum 1099593404050 > (decimal of 10004dfce92) and found nothing. This is also working for non > unfound objects. > > Is there another way to find the corresponding file? > On 24.05.19 11:12 vorm., Burkhard Linke wrote: > > Hi, > On 5/24/19 9:48 AM, Kevin Flöh wrote: > > We got the object ids of the missing objects with ceph pg 1.24c > list_missing: > > { > "offset": { > "oid": "", > "key": "", > "snapid": 0, > "hash": 0, > "max": 0, > "pool": -9223372036854775808, > "namespace": "" > }, > "num_missing": 1, > "num_unfound": 1, > "objects": [ > { > "oid": { > "oid": "10004dfce92.0000003d", > "key": "", > "snapid": -2, > "hash": 90219084, > "max": 0, > "pool": 1, > "namespace": "" > }, > "need": "46950'195355", > "have": "0'0", > "flags": "none", > "locations": [ > "36(3)", > "61(2)" > ] > } > ], > "more": false > } > > we want to give up those objects with: > > ceph pg 1.24c mark_unfound_lost revert > > But first we would like to know which file(s) is affected. Is there a way to > map the object id to the corresponding file? > > > The object name is composed of the file inode id and the chunk within the > file. The first chunk has some metadata you can use to retrieve the > filename. See the 'CephFS object mapping' thread on the mailing list for > more information. > > > Regards, > > Burkhard > > > _______________________________________________ > ceph-users mailing > [email protected]http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
