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
-
Go to "Settings" -> "Paths" -> "MainDir".
-
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.
-
Open
/opt/rutorrent/rtorrent/rtorrent.rc
. -
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
-
Go to "Settings" -> "Media Management".
-
Set "Advanced Settings" to
Shown
. -
Scroll down to "Importing".
-
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
-
Go to "Series" -> "Series Editor" -> Select your TV Shows -> "Root Folder" -> "Add a different path".
-
On the popup window:
-
Enter in:
/mnt/unionfs/Media/TV/
Note: If you are using customized paths, then select the proper TV shows path within
/mnt/unionfs/Media/
. -
Press the green check mark to close the window.
-
-
Click the blue "Save" button to change the root paths.
Radarr
Settings
-
Go to "Settings" -> "Media Management".
-
Set "Advanced Settings" to
Shown
. -
Scroll down to "Importing".
-
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
-
Go to "Movies" -> "Movies Editor" -> Select your movies -> "Root Folder" -> "Add a different path".
-
On the popup window:
-
Enter in:
/mnt/unionfs/Media/Movies/
Note: If you are using customized paths, then select the proper movies path within
/mnt/unionfs/Media/
. -
Press the green check mark to close the window.
-
-
Click the blue "Save" button to change the root paths.
Plex Autoscan
No changes required.
Plex
No changes required.