How to reclaim disk space

rmont

Dabbler
Joined
Jun 18, 2020
Messages
42
I know this is a common question, but I searched the forums far and wide and can't figure out a wierd situation with space availability on my disk.

- if I run du on the disk, it shows 95Mb used
- when I look into storage -> pools on the web interface, I see 200 Gb used

- I checked for .recycle directories and recycle bin settings, but there are none
- I have no snapshots on the disk

This happens when I use sabnzbd/sonarr.
Apparently space is not reclaimed neither when sonarr moves the downloaded files to another disk, nor when sabnzbd cancels a broken download.
I have already checked in the download folders and the files are properly deleted from the file system. Just the space is not shown as free any more.

I have also tried both symlink and copy on sonarr.

I understand that deletes are not real time, but the space is not made available even after 1 hour with very low utilization.
If I reboot the server, the space becomes available again.

Where's the catch?

Thanks for helping
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Where's the catch?
It's a bug that seems to be on track to never be fixed.

You need to restart your SAB jail to free the space.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You can schedule a jail restart with a cron task every few hours with little risk/impact and it will keep it under control.
 
Top