how to set up sonarr/radarr and qbittorrent to avoid duplicate files

tubbadu@lemmy.kde.social to Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com – 38 points –

Hello! I set up jellyfin+sonarr+radarr+prowlarr+qbittorrent in my home server, and it all works well. the only problem is that I'm storing my files on a usb HDD with exFAT filesystem, and it does not support (AFAIK) hardlinks. due to this, sonarr/radarr are copying the files from the download folder (on the internal SSD with xfs) to the USB HDD.

  1. do I understand correctly what's going on? XD
  2. what is your setup or what do you suggest to do to avoid this? Ideally, I would like to download the files on the internal SSD and then move the files to the external HDD, and then hardlink it into the download folder to keep seeding it. If this is not possible, it would also be a good solution to download directly inside the USB drive, and then hardlink it into the jellyfin library.

any tip is greatly welcome! thank in advance fellow pirates!

12

A hard link won't work across filesystems or across disks. If you want to point to another arbitrary filesystem, you'd need a symlink. I don't know if that's supported in that software stack. But you either move that Download directory to the same filesystem on the USB HDD, or use symlinks, or figure out a different way.

I feel you, I have exactly the same issue. What you can do is set qbit to delete the file after X amount of seeding /time so by then the file would've been moved. It sucks as i would like to seed as much as i can but i can't store things twice...

this could be an idea, but this would comport that remote files nobody wants will be there forever while very requested files will disappear quickly... I think I'll just backup all the files and change the filesystem to NTFS or XFS

You can do 1 day or 2:1 ratio

I do 10 days or 10 times ratio. That way less popular torrents get some seed time, and more popular torrents get seeded more.

I don't know there are any limits to hardlinks other than that the source and destination needs to be on the same drive.This might help

thanks for the link! I searched a bit more and found this microsoft docs that explicitly says that exfat does not support hardlinks nor softlinks... I'll have to change filesystem I guess

If that's the case then a reformat into something that will support it is simple enough

it seems so... We will also need to move both the qbittorrent download folder and the jellyfin/plex library on the same drive, as hardlinks only works there