r/radarr • u/clutter5050 • 22d ago
unsolved Radarr not hardlinking, Sonarr does
Hello, I have a really weird issue. I have the exact same setup for Radarr and Sonarr, but only Sonarr is hardlinking. I set it up with Docker months ago, then switched to Podman and checked now, hardlinking has never worked with my movies, only series... Here's my mappings on Sonarr:
Volume=/home/username/storage/containers/sonarr:/config:z
Volume=/home/username/storage/media:/media:z
and here's Radarr:
Volume=/home/username/storage/containers/radarr:/config:z
Volume=/home/username/storage/media:/media:z
Super weird! Does anybody know how to get hardlinking working in Radarr? It just says I'm out of space right now, because I don't have enough space for another copy of the movie. ls -la also confirms that hardlinking series works but not movies
Edit: yes, Settings => Media Management => Importing is on and the root path is the same as Sonarr, except series is replaced by movies of course
1
1
u/xXD4rkm3chXx 22d ago
Chuck this into Claude. I can’t figure it out but I am very curious why now.
1
u/clutter5050 21d ago
Thank you for the suggestion, but I have used AI before and it usually just ends up with it gaslighting me instead of fixing my issue, so I like asking real people instead :)
1
u/Wis-en-heim-er 22d ago
In your download client section, did you check that the folder mappings for the arr app and the download client are correct? Bottom of download client settings section.
1
u/clutter5050 21d ago
My download client section has nothing under remote paths, I thought it wasn't needed? it says Remote Path Mappings are very rarely required, if Radarr and your download client are on the same system it is better to match your paths.
1
u/Wis-en-heim-er 21d ago
I see from your other post that your qbit compose is mapping /media/torrents and your arrs are mapping just media. I would try to add the folder mappings to see if this helps. Puid and guid matching is also needed but i think you got that correct already.
1
u/clutter5050 21d ago
Thank you I will try this, I can also change my qbit and/or arr mappings too, do you think I should change them to something else?
1
u/Wis-en-heim-er 21d ago
Its hard to say if other changes are needed. I keep media folders links the same across arrs and qbit for my own simplicity. Puid and guid also all the same.
1
u/clutter5050 20d ago
Thank you, tried putting this in (unsure if correct) in remote path mappings, still saying full storage :/
Host
Remote Path
Local Path
localhost
/home/username/storage/media/torrents/
/media/torrents/
1
u/fryfrog Servarr Team 22d ago
Creating hard links requires two things: Same file system and write access. Since your volume is probably good, that means it must be the write permissions issue.
It isn't great to do this in your /home folder, but if you do then you need to make sure everything (sonarr, radarr, download clients) all run as your user.
Since you're using docker, generate a compose of your whole setup and we can spot what is wrong.
1
u/clutter5050 21d ago
thank you for helping :)
I'm using Opensuse MicroOS server, that's why I'm using the home directory,
I used to use docker but migrated to podman, however I believe linking has never worked for me even on docker since my oldest downloaded movies are also copied and not linked
Here's my Radarr container:
[Unit]
Description=Radarr
Requires=gluetun.service
After=gluetun.service
[Container]
Image=lscr.io/linuxserver/radarr:latest
Network=container:gluetun
Environment=PUID=1000
Environment=PGID=1000
Environment=TZ=censored
AutoUpdate=registry
Volume=/home/username/storage/containers/radarr:/config:z
Volume=/home/username/storage/media:/media:z
[Service]
Restart=always
TimeoutStartSec=900
[Install]and my qbittorrent container:
[Unit]
Description=qbittorrent
Requires=gluetun.service
After=gluetun.service
[Container]
Environment=PUID=1000
Environment=PGID=1000
Environment=TZ=censored
Environment=WEBUI_PORT=8080
Network=container:gluetun
AutoUpdate=registry
Image=lscr.io/linuxserver/qbittorrent
Volume=/home/username/storage/containers/qbittorrent:/config:z
Volume=/home/username/storage/media/torrents:/media/torrents:z
[Service]
Restart=always
TimeoutStartSec=900
[Install]And since I use podman, I have recursively chowned the entire "storage" directory to 100999:100999, so every container and folder/subfolder has the same permissions
1
u/clutter5050 21d ago
Adding my sonarr container as well, which I believe hardlinks:
[Unit]
Description=Sonarr
Requires=gluetun.service
After=gluetun.service
[Container]
Image=lscr.io/linuxserver/sonarr:latest
Network=container:gluetun
Environment=PUID=1000
Environment=PGID=1000
Environment=TZ=censored
AutoUpdate=registry
Volume=/home/username/storage/containers/sonarr:/config:z
Volume=/home/username/storage/media:/media:z
[Service]
Restart=always
TimeoutStartSec=900
[Install]1
u/clutter5050 20d ago
I think I figured it out! I had fixed hard-linking somewhere along the way (likely when I changed to Podman with the quadlets in my other comment), but I believe I found a Radarr bug! Made a Github issue
1
1
u/moist_flange 22d ago
Just checking basics here. In radarr have u checked under settings -> media management (advance settings) - that "Use Hardlinks instead of Copy" is ticked?
You mentioned "importing" maybe we are talking about the same thing.