[Help] I can't make Radarr's hardlink work
Hello! I have jellyfin+qbittorrent+radarr on my home server, but I can’t make it work with hardlinks. When a download finishes, it just copies it to the /movie folder, doubling the disk space. at least, I think that it’s just a copy, because the disk space is double and find ./downloads -samefile ./movies/path/to/file.mkv
returns no result, meaning if I understand correctly that file.mkv is not hardlinked to any file in the download folder (but it should).
this is the docker compose:
<span style="color:#63a35c;">radarr</span><span style="color:#323232;">:
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">image</span><span style="color:#323232;">: </span><span style="color:#183691;">lscr.io/linuxserver/radarr:latest
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">container_name</span><span style="color:#323232;">: </span><span style="color:#183691;">radarr
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">network_mode</span><span style="color:#323232;">: </span><span style="color:#183691;">container:gluetun
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">environment</span><span style="color:#323232;">:
</span><span style="color:#323232;"> - </span><span style="color:#183691;">PUID=1000
</span><span style="color:#323232;"> - </span><span style="color:#183691;">PGID=1000
</span><span style="color:#323232;"> - </span><span style="color:#183691;">TZ=Europe/Rome
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">volumes</span><span style="color:#323232;">:
</span><span style="color:#323232;"> - </span><span style="color:#183691;">./radarr-config:/config
</span><span style="color:#323232;"> - </span><span style="color:#183691;">/media/HDD1/movies:/movies
</span><span style="color:#323232;"> - </span><span style="color:#183691;">/media/HDD1/downloads:/downloads
</span><span style="color:#323232;"> </span><span style="color:#63a35c;">restart</span><span style="color:#323232;">: </span><span style="color:#183691;">unless-stopped
</span>
HDD1 hard drive is formatted ext4, that supports hardlinks (in fact I can create them manually), and in the radarr settings the checkbox “use hardlinks instead of copy” is checked.
Ideally I’d prefer softlinks instead of hadlinks, but I don’t think there’s a way to do it natively, I think I’d need an external script
Any tips? Thanks in advance!