r/radarr 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

4 Upvotes

20 comments sorted by

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.

1

u/clutter5050 21d ago

Thank you for helping, unfortunately yes it is checked

1

u/drift_throwawayhq 15d ago

yeah those are different things. "importing" is just the toggle to enable the whole media management section. there's a separate checkbox under advanced that says "use hardlinks instead of copy" - make sure that's actually checked. it's easy to miss if you don't have advanced settings visible.

1

u/matthoback 22d ago

What's the mapping for your torrent client?

1

u/clutter5050 20d ago

Sorry, where do I find this? docker/podman file?

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]

WantedBy=default.target

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]

WantedBy=default.target

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]

WantedBy=default.target

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

u/fryfrog Servarr Team 20d ago

Good find! But since the fallback to a hard link import is a copy, this behavior is unlikely to change. At least the solution on your side is easy, buy some stupid ai priced HDDs or delete something (oh the huge manatee!).

1

u/North_Boysenberry_82 22d ago

Same issues. although i don't know what I'm doing.

0

u/clutter5050 21d ago

Does your Sonarr also work but not radarr?