Downloading into UnionFS - dibrz/ARMBand GitHub Wiki

This page will show you how setup Cloudbox so that it downloads into UnionFS and allows for instant moves from downloads to media folder.

The reason this is not done by default, are due to stability issues with using UnionFS with such intensive tasks (see warnings on this page).

Warning: Downloading within UnionFS can cause a high disk IO within UnionFS and slow down any program that accesses it, causing issues such as slowing down of Sonarr/Radarr ("gray dots" issue), Error 502s, and even Sonarr/Radarr failing to import the downloads (leaving them behind in completed folders/"Success" Tab of NZBGet).

NZBGet

  1. Go to "Settings" -> "Paths" -> "MainDir".

  2. Change path to:

    /mnt/unionfs/downloads/nzbget
    

    Note: This assumes your NZBGet downloads folder was set to /mnt/local/downloads/nzbget/ during the initial setup. If it is located elsewhere (e.g. ~/downloads/nzbget/), then you will need to move the downloads folder to /mnt/local/downloads/nzbget/, beforehand.

ruTorrent

Warning: Even though this section covers ruTorrent, it is advised that you don't do this, as the heavy load of torrents reading/writing to UnionFS could crash the mount point and cause downloading/seeding failures.

  1. Open /opt/rutorrent/rtorrent/rtorrent.rc.

  2. Change directory to:

    directory = /mnt/unionfs/downloads/rutorrent
    

    Note: This assumes your ruTorrent downloads folder was set to /mnt/local/downloads/rutorrent/ during the initial setup. If it is located elsewhere (e.g. ~/downloads/rutorrent/), then you will need to move the downloads folder to /mnt/local/downloads/rutorrent/, beforehand.

Sonarr

Settings

  1. Go to "Settings" -> "Media Management".

  2. Set "Advanced Settings" to Shown.

  3. Scroll down to "Importing".

  4. Set "Use Hardlinks instead of Copy" to No.

    • Note: Having this option enabled will prevent actively seeded/open files from being uploaded during UFSC/CP upload tasks.

Root Paths

  1. Go to "Series" -> "Series Editor" -> Select your TV Shows -> "Root Folder" -> "Add a different path".

  2. On the popup window:

    1. Enter in:

      /mnt/unionfs/Media/TV/
      

      Note: If you are using customized paths, then select the proper TV shows path within /mnt/unionfs/Media/.

    2. Press the green check mark to close the window.

  3. Click the blue "Save" button to change the root paths.

Radarr

Settings

  1. Go to "Settings" -> "Media Management".

  2. Set "Advanced Settings" to Shown.

  3. Scroll down to "Importing".

  4. Set "Use Hardlinks instead of Copy" to No.

    • Note: Having this option enabled will prevent actively seeded/open files from being uploaded during UFSC/CP upload tasks.

Root Paths

  1. Go to "Movies" -> "Movies Editor" -> Select your movies -> "Root Folder" -> "Add a different path".

  2. On the popup window:

    1. Enter in:

      /mnt/unionfs/Media/Movies/
      

      Note: If you are using customized paths, then select the proper movies path within /mnt/unionfs/Media/.

    2. Press the green check mark to close the window.

  3. Click the blue "Save" button to change the root paths.

Plex Autoscan

No changes required.

Plex

No changes required.