-
Notifications
You must be signed in to change notification settings - Fork 132
Hardlinking Guide
Silent-Remux.mkv edited this page Oct 14, 2018
·
22 revisions
Before you start, clear all folders & files from /mnt/local/downloads/
and make sure NZBGet / rutorrent have no queued files in them.
cd ~/cloudbox
- Set the following...
nano settings.yml
downloads:
nzbs: /mnt/local/downloads/nzbs
torrents: /mnt/local/downloads/torrents
docker stop sonarr,sonarr4k,radarr,radarr4k,nzbget,rutorrent
- Set the following...
nano /opt/rutorrent/rtorrent/rtorrent.rc
# Default directory
directory.default.set = /downloads/torrents/rutorrent/completed
############################################################################
SCROLL DOWN A BIT & COMMENT OUT THE SECTION AS SEEN BELOW
############################################################################
# move completed downloads from incoming/ to completed/
# method.insert = d.get_finished_dir, simple, "cat=/downloads/torrents/rutorrent/completed/,$d.custom1="
# method.insert = d.data_path, simple, "if=(d.is_multi_file), (cat,(d.directory),/), (cat,(d.directory),/,(d.name))"
# method.insert = d.move_to_complete, simple, "d.directory.set=$argument.1=; execute=mkdir,-p,$argument.1=; execute=mv,-u,$argument.0=,$argument.1=; d.save_full_session="
# method.set_key = event.download.finished,move_complete,"d.move_to_complete=$d.data_path=,$d.get_finished_dir="
docker start nzbget
- If anything starts to download, stop it and delete it.
- In NZBGet, go to
SETTINGS
thenPATHS
. - Set
MainDir
to/downloads/nzbs/nzbget
, leave the rest as default i.e.DestDir = ${MainDir}/completed
etc docker stop nzbget
docker start nzbget
- In NZBGet, click the
Pause for 3hrs
option to stop anything downloading for a bit. cd ~/cloudbox
sudo ansible-playbook cloudbox.yml --tags sonarr,sonarr4k,radarr,radarr4k,rutorrent
- Open Sonarr, go to Settings, Download Client and set the following
Remote Path Mappings
. - Repeat the
Remote Path Mappings
forsonarr4k | radarr | radarr4k
. Side note: any extra containers you may have made will need these mappings as well. - Open all your Sonarr / Radarr instances, go to
Media Management
and setUse Hardlinks instead of Copy
toON
. - Set "exclude_open_files" to
false
withnano /opt/cloudplow/config.json
"google": {
"check_interval": 1,
"exclude_open_files": false,
"max_size_gb": 2,
"opened_excludes": [
"/downloads/**"
sudo systemctl restart cloudplow
- Enjoy hardlinking.
- airdcpp
- Airsonic
- alltube
- always
- amongus
- Apprise
- archivebox
- arrX (SonarrX, RadarrX, BazarrX)
- AssHama
- autoscan
- Bazarrx
- Beets
- Bitwarden
- Booksonic
- Bookstack
- btrfsmaintenance
- calibre-web
- calibre
- Coder
- comicstreamer
- comixed
- couchpotato
- Dashmachine
- deemix
- deezloader-remix
- Deluge
- DelugeVPN
- Drive STRM
- eBooks: Calibre and Calibre web
- emby2
- embystat
- EPMS
- Filebot
- Filebrowser
- filezilla
- FlareSolverr
- Funkwhale
- Gazee
- Gitea
- Glances
- Goplaxt
- gotify
- grafana
- Guacamole
- Handbrake
- Heimdall
- Hetzner NFS VLAN
- influxdb
- InvoiceNinja
- JDownloader2
- Jellyfin
- Jirafeau
- KCPTUN
- Kitana
- komga
- Krusader
- LazyLibrarian
- lidarrx
- Logarr
- Mango
- Mediabutler
- medusa
- Mellow
- Minecraft
- Monitorr
- Mylar
- mylar3
- navidrome
- Nextcloud
- NowShowing
- NZBHydra (v1)
- ombix
- Organizr (v1)
- ouroboros
- overseerr
- paperless-ng
- plex2
- Pyload
- qBittorrent
- qbittorrentvpn
- Quassel
- RadarrX
- redbot
- requestrr
- requestrrx
- resilio-sync
- rocketchat
- sickchill
- searx
- SonarrX
- Speedtest
- SSHswifty
- stash
- Subsonic
- SyncLounge
- Tdarr
- telegraf
- Telly
- TheLounge
- transmissionvpn
- transmissionx
- ubooquity
- Unifi
- unmanic
- Varken
- vnstat
- wallabag
- Watchtower
- Wordpress
- Xteve
- ZNC
- Custom python plexlibrary libraries
- Speed up Plex / Emby / Jellyfin
- Tautulli Custom Scripts
- Plex Scanners and Agents