Re: Potential bug in cephfs-data-scan?

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

 



On Fri, Aug 19, 2022 at 7:17 AM Patrick Donnelly <pdonnell@xxxxxxxxxx> wrote:
>
> On Fri, Aug 19, 2022 at 5:02 AM Jesper Lykkegaard Karlsen
> <jelka@xxxxxxxxx> wrote:
> >
> > Hi,
> >
> > I have recently been scanning the files in a PG with "cephfs-data-scan pg_files ...".
>
> Why?
>
> > Although, after a long time the scan was still running and the list of files consumed 44 GB, I stopped it, as something obviously was very wrong.
> >
> > It turns out some users had symlinks that looped and even a user had a symlink to "/".
>
> Symlinks are not stored in the data pool. This should be irrelevant.

pg_files is the version that tells you what existing files may have
holes in them from lost data. It does this by walking through the tree
and does depend on the MDS.

So yeah, this is a bug. It shouldn't be hard to fix for anybody who
spends a bit of time looking at the code, so feel free to do that and
file a PR, or generate a tracker! :)
-Greg

>
> --
> Patrick Donnelly, Ph.D.
> He / Him / His
> Principal Software Engineer
> Red Hat, Inc.
> GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>

_______________________________________________
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