When will "Uncollected Garbage" be deleted?

I had 10TB trash of which less than a quarter got emptied in 7 days. Each xx directory took betwenn 15 minutes and 1 hour to get emptied, depending on other filewalkers, garbage collection etc.

I stopped this node now and moved the 2024-08-25 folder out of the trash folder somewhere else on the same filesystem. This should finish instantly. Then I started the node again and let the used space filwalker run.

Now I’m running

find /path/to/moved_folder/ -delete

in a tmux session, which deletes ~10 xx folders per hour. The remaining folders should be deleted in less than 4 days now. If required I can interrupt it so it doesn’t compete with the filewalkers etc.

DISCLAIMER: DO THIS ON YOUR OWN RISK! If you specify the wrong folder in the find command or have any spaces at the wrong position you could wipe your whole system! Also, do this only with a trash folder where the empty trash has already started. Otherwise you could get disqualified!

3 Likes