Dedicated disk -- how to check things go to the trash, and get deleted when not needed?

is there a way to run a disk check once every so often whilst the node is in dedicated disk mode?

just to make sure the disk is clear of any not needed storage etc ?

thanks

Do you mean check the filesystem? Some (like ZFS with the ‘scrub’ command) will work with the node running… but for others like ext4 you need to unmount first.

If you mean making sure there’s not too much trash… you always have some trash… and the periodic bloom filters remove most of it each run. You can look in the files/config/storage/trash/[satellite] directories, and they’ll have date-stamped subdirectories. If you have any that are older than about 9 days (from the current date) you can just delete them.

If i have continously more than 9 days / 1 month - 2 month - folders.. Is there some issue with dedicated disk mode?

I didn’t think being dedicated-disk or not had anything to do with taking the trash out, but maybe. I’d delete those older-than-9-days directories and wait a month and see if the node is keeping up with the deletions… or if older directories keep occasionally getting lost.

1 Like

Do you have data there older than 7 days?

1 Like