Hi Xiubo, On Mon, Jul 18, 2022 at 7:54 AM Xiubo Li <xiubli@xxxxxxxxxx> wrote: > > Hi Neha, > > We were repairing the cephfs metadata by using a alternate metadata pool > [1] and when running the "scan_inodes" stage I found that for some > objects listed in the data pool couldn't find the backtrace info. And > checked more and found that all the xattrs was erased from the head > object after the file was deleted. > > Normally if there has no snapshot is created after the file being > created, when deleting the file all the related objects will be removed > from data pool. But before deleting the file if we create a snapshot the > related objects will be kept, but the xattrs will be erased, more detail > please see [2]. > > Is this a bug ? If not where could we found that xattrs ? I think it would be useful to validate this independent of CephFS. Matan will be working on it, but in parallel, it will be helpful if you could share your minimal reproducer in the tracker so that we can run it ourselves to collect the required debug logs. Thanks, Neha > > > [1] > https://docs.ceph.com/en/nautilus/cephfs/disaster-recovery-experts/#using-an-alternate-metadata-pool-for-recovery > [2] https://tracker.ceph.com/issues/56605 > > > Thanks! > > _______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx