Clear EOS FS usage

Hello,

We occassionaly see file system usage (in the output of eos fs ls) that cannot be (obviously) accounted by the presence of disk replicas. I have attempted to do something like

eos fs boot 16 --syncmgm

but the usage remains the same.

Do you have anu suggestions?

Thanks,

George

Just realised that there quite a few (ghost?) replicas in a directory called /eos/XXX/.eosorphans/

I am not sure what are these and hoe can one deal with them.

Hi George,

These files are called orphans which means there are replicas on disk but there is no longer any namespace entry corresponding to that file. There was a an issue at some point with the deletion of files that might have created such orphans.

There is an easy way to clean these up as they are anyway inaccessible by the end-users, namely by using the fsck functionality. Hopefully, you have fsck enabled and these show up in the eos fsck stat report, notice the orphans_n category.

To clean these up you can do: eos fsck clean_orphans –-force-qdb-cleanup.

Cheers,
Elvin

Hi Elvin,

Many thanks for your reply.

Best,

George