February 20, 20242 yr I have the following setup: radarr /config = /mnt/user/appdata/radarr /movies = /mnt/user/media/Movies/ /downloads = /mnt/user/torrent/ sonarr /tv = /mnt/user/media/TV Shows/ /downloads = /mnt/user/torrent/ /config = /mnt/user/appdata/sonarr deluge /downloads = /mnt/user/torrent/ /config = /mnt/user/appdata/deluge However, once a file is downloaded it is moved from "/mnt/user/torrent/" to a "/mnt/user/media/Movies" without a hardlink. "/mnt/user/torrent" and "/mnt/user/media" are 2 user shares. For hardlinks to work - do I need to have torrents inside the same share? Additionally, do I need to make any changes to the volume mappings? For example to have: radarr /data/movies = /mnt/user/media/Movies/ /data/downloads = /mnt/user/media/torrent/ sonarr /data/tv = /mnt/user/media/TV Shows/ /data/downloads = /mnt/user/media/torrent/ deluge /data/downloads = /mnt/user/media/torrent/ I am not sure if I would need to have sonarr and radarr re-index my library if I make this change?
February 20, 20242 yr Author Tried the following setup: Deluge: - /data/torrent => /mnt/user/media/torrent Sonarr - /data => /mnt/user/media So technically sonarr should see both however atomic movies / hardlinks are not working as the contents get deleted after the move, which is not ideal at all since we have extra io and we can't seed the files. Used docker exec -it sonarr /bin/bash to jump into the container however, one interesting thing is that I could run "ln /data/torrent/something /data/TV Shows/something" so technically it works when manually running it, however sonarr seems to always just move, even though in the UI hardlinks are checked. Hopefully someone has a working guide on how we can properly use hardlinks. Edited February 20, 20242 yr by Shagon
February 21, 20242 yr Author Solution Managed to get it working. # Steps Given the layout on disk: ```shell /mnt/user/media ├── ebooks ├── downloads ├── Movies ├── Music └── TV Shows ``` The container view should be: ## Deluge ```shell /media └── downloads ``` ## Sonarr ```shell /media ├── ebooks ├── downloads ├── Movies ├── Music └── TV Shows ``` ## The switch 1. Backup `/appdata` 2. Turn off plex scanning 3. Turn off plex garbage collection (1, 2, 4, 5) 4. Turn off plex 5. Change sonarr volume binding 1. Remove `/tv` => `/mnt/user/media/TV Shows` volume binding 2. Add volume binding `/media` => `/mnt/user/media` 6. Change Deluge volume binding 1. Remove `/downloads` => `/mnt/user/torrent/` 2. Add volume binding `/media/downloads` => `/mnt/user/media/downloads` 7. Test manual volume binding 1. `docker exec -it sonarr /bin/bash` 2. `echo "something" > /media/downloads/something` 3. `ln /media/downloads/something /media/TV\ Shows/something` 4. `stat /media/downloads/something` should return "Links: 2" 8. Going back to Sonarr change the root directory from `/tv` to `/media/TV\ Shows` making sure **NOT** to move the files as the naming scheme is correct 9. Ensure Sonarr is set to use hardlinks 10. Ensure Sonarr is set **NOT** to remove downloaded files 11. Configure Deluge to seed for at least 1:1 ratio 12. Configure Deluge to use `/media/downloads` directory for downloads 13. Find a random episode on Sonarr and download it 14. Observe the import in Sonarr 15. Confirm the link exists by looking into the `/media/downloads` directory and doing `stat` on the downloaded file 16. Remove `something` file used for testing `rm /media/TV\ Shows/something` 17. Turn on plex and enable garbage collection (settings 1,2,4,5) Repeat the above for Radarr as the core seems to be NAMING to be the same, so media in the container and media in unraid, or data in unraid and data in the container - the names MUST match
February 27, 20242 yr Author 7 hours ago, Killabee44 said: Hi, I have a similar issue which I am trying to resolve. For Sonarr, where did you change the binding setting? in the appdata config file? Thanks. In unraid itself
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.