Hardlinks not working, cross device access

Sonarr version (exact version): 4.0.14.2939
Mono version (if Sonarr is not running on Windows): Docker Compose
OS: Docker Compose
Debug logs: PrivateBin
Description of issue

I have trouble with my space, since i thought hardlinks are created, but from what i could see, there are none created, and i thought the way i did it would solve it. Apparently its not. Is there a solution?

Im running it in a docker compose together with all other things.
I have my Truenas mounted in docker as /mnt/nas.
qbittorrent downloads to /mnt/nas/qbittorrent/downloads (:/downloads)
The path is also as download client in sonarr config and then the media linking is to /mnt/nas/arr/sonarr/tvseries:/tv

From what i saw with “du” or “ls -la”, there are no hardlinks, but complete doubled files, even tho the option is enabled to use hardlinks.
I know its not possible across filesystems, so i moved it all to the /mnt/nas pathing. (as you can see in the error log)

Since its on /mnt/nas, it needs the permissions so i moved all software that needs access into the gid=10000, which is also the “lxc_share” group of the mounting on the “host” container. Access works, files are getting created and all, but im not able to check if its a hardlink, since my free space is showing that it copied the file.

I will put the docker compose into the log linked above.

I would be very thankfull if someone could tell me how to keep the brunt of the files on my NAS where i have tons of storage, and not on my docker-drive, where space is finite.

Every mount is basically treated as a separate filesystem. Fix your mount points.

Ah okay, i redid the links because I thought it would be the true as mounting along.

Seems like /mint/Nas isn’t possible.

I redid my paths to /media/arr/qbittirrent/downloads:/downloads for the torrent files, and /media/arr/tvshows:/tv for sonarr. I didn’t expect that things like the :/tv on the container path wouldn’t work…kinda…bad.

I will try the structure of the guide, tho the path explanations I it aren’t correct. If I would do /media/data:/data for sonarr and radarr, all would land in the data path, without neat folders. Wouldn’t it be /media/data/media/tvshows:/data to create the structure shown in the guide?

This is correct.
In sonarr/radarr you’ll see /data, and under that location you can create tv and movies subfolders.