I always wondered why hardlinks in radarr/ sonarr and qbittorrent didn’t work for me. I think the problem was that I mapped the directories as below:

    volumes:
      - ./config:/config
      - ./downloads:/downloads
      - ./movies:/movies

whereas I should’ve mapped them as:

    volumes:
      - ./config:/config
      - ./media:/media 
      - ./media/downloads:/media/downloads
      - ./media/movies:/media/movies

Now, how do I replace all the duplicate files in /downloads with the links?

  • rambos@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    Hard links are default. Files look like duplicates but they dont take double amount of storage. To empty storage you have to delete both files.

    As someone elese already said, you should use single volume for both radarr and qbittorrent.

    This is from wiki.servarr:

    data
    ├── torrents
    │  ├── movies
    │  ├── music
    |  ├── books
    │  └── tv
    ├── usenet
    │  ├── movies
    │  ├── music
    │  ├── books
    │  └── tv
    └── media
        ├── movies
        ├── music
        ├── books
        └── tv
    

    Following this you should have

    volumes:
      - /path_to_qbit_config:/config
      - /path_to_data:/data
    
    volumes:
      - /path_to_radarr_config:/config
      - /path_to_data:/data
    
      • rambos@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        8 months ago

        I couldnt find best way tbh. You could set your qbittorrent to auto delete after some time or when hit specific ratio, then manually delete from arrs. There is also app that auto deletes library after X days (, but didnt try it myself.

        None of that suits my needs, so I just do it manually from both qbit and library

        Edit: best way is to get more storage so you do it less frequently or you never do it 🙃

        • lessthanthree@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          I setup the auto-delete function. I placed a very high ratio and a certain amount of days to stay active. I’d prefer to seed indefinitely but this will do for now.

          I’m definitely getting more storage soon.