Trash folder wasting useable space

I note the trash folder has started filling up as my node disk is getting more full. I understand the trash is deleted pieces and that they will be deleted all going well in seven days. So three things:

  1. Why do we want to store deleted pieces?
  2. Trash is using space on my drive that I could use to increase my storage node size.
  3. If I leave 10% of my drive free to cater for trash files, will that be enough?

If your trash folder is filled by pieces, this is only mean that your node was offline when customer deleted data.
So, if you want to do not have a trash - please. keep your node online


As the trash folder content is being used as part of a recovery strategy and is part of the overall product solution then we should be getting paid for the space the trash folder is using.

I don’t understand why you want to get paid for garbage but sure you can disable garbage collection if you think that helps.

Because it’s part of your DR plan that we are holding content for and we could be using that space for node storage. If you guys don’t care about the trash folder, I’ll just create a cron job to clean it out hourly?

Sure. However, if the D is happened, your node would be DQ.
Better do not touch anything inside the data folder for node’s safety, but it’s up on you.

1 Like

On my node that stores 4.6TB of data I have a trash folder of 1GB and it’s shrinking over time. It’s negligible and definitely not worth the risk of disqualification.

Pro tip: It won’t, you’re not getting paid for this data either way.

1 Like