Hi Dan,

On Fri, Jan 14, 2022 at 6:32 AM Dan van der Ster <d...@vanderster.com> wrote:
> We had this long ago related to a user generating lots of hard links.
> Snapshots will have a similar effect.
> (in these cases, if a user deletes the original file, the file goes
> into stray until it is "reintegrated").
>
> If you can find the dir where they're working, `ls -lR` will force
> those to reintegrate (you will see because the num strays will drop
> back down).
> You might have to ls -lR in a snap directory, or in the current tree
> -- you have to browse around and experiment.
>
> pacific does this re-integration automatically.

This reintegration is still not automatic (i.e. the MDS does not have
a mechanism (yet) for hunting for the dentry to do reintegration).
The next version (planned) of Pacific will have reintegration
triggered by recursive scrub:

https://github.com/ceph/ceph/pull/44514

which is significantly less disruptive than `ls -lR` or `find`.

-- 
Patrick Donnelly, Ph.D.
He / Him / His
Principal Software Engineer
Red Hat, Inc.
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to