Re: cephfs-data-scan orphan objects while mds active?

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

 



The cephfs-data-scan tools are built with the expectation that they'll
be run offline. Some portion of them could be run without damaging the
live filesystem (NOT all, and I'd have to dig in to check which is
which), but they will detect inconsistencies that don't really exist
(due to updates that are committed to the journal but not fully
flushed out to backing objects) and so I don't think it would do any
good.
-Greg

On Mon, May 13, 2024 at 4:33 AM Olli Rajala <olli.rajala@xxxxxxxx> wrote:
>
> Hi,
>
> I suspect that I have some orphan objects on a data pool after quite
> haphazardly evicting and removing a cache pool after deleting 17TB of files
> from cephfs. I have forward scrubbed the mds and the filesystem is in clean
> state.
>
> This is a production system and I'm curious if it would be safe to
> run cephfs-data-scan scan_extents and scan_inodes while the fs is online?
> Does it help if I give a custom tag while forward scrubbing and then
> use --filter-tag on the backward scans?
>
> ...or is there some other way to check and cleanup orphans?
>
> tnx,
> ---------------------------
> Olli Rajala - Lead TD
> Anima Vitae Ltd.
> www.anima.fi
> ---------------------------
> _______________________________________________
> 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