Hi guys.
Im trying to find the logic and how I should work with this mergerfs system.
As several has posted already, I find it a bit hard to figure out how its working.
I want to test it out, and work a bit more with moving rather than copy my files.
My current setup is rtorrent for download client.
Rclone latest version , not beta.
Mergerfs
Rclone setup:
gdrive = my googledrive
gcrypt = encrypt/decrypt
Paths:
Download folder
/home/plex/media/movies etc.
Mount folder(s)?
/home/plex/mnt
/home/plex/mnt/gdrive
/home/plex/mnt/media
/home/plex/mnt/move
Service file rclonemount.service:
[Unit]
Description=RClone Service
After=network-online.target
Wants=network-online.target
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount gcrypt: /home/plex/mnt/gdrive
–allow-other
–dir-cache-time 72h
–vfs-read-chunk-size 10M
–vfs-read-chunk-size-limit 512M
–buffer-size 1G
–umask 002
–log-level INFO
–log-file /home/plex/scripts/logs/rclone-mount.txt
ExecStop=/bin/fusermount -uz /home/plex/mnt/gdrive
Restart=on-abort
User=plex
Group=plex
[Install]
WantedBy=default.target
Mergerfs.service
[Unit]
Description=Megerfs Service
After=rclonemount.service
RequiresMountsFor=/home/plex/mnt/gdrive
[Service]
Type=forking
User=plex
Group=plex
ExecStart=/usr/bin/mergerfs -o defaults,sync_read,allow_other,category.action=all,category.create=ff /home/plex/mnt/move:/home/plex/mnt/gdrive /home/plex/mnt/media
ExecStop=/home/plex/mnt/gdrive
Restart=on-abort
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=rclonemount.service
my /home/plex/mnt/gdrive shows my encrypted content, so far so good.
my /home/plex/mnt/media shows the exact same content??
my /home/plex/mnt/move is empty
I assume that I need to move my newly downloaded content to the /home/plex/mnt/move folder.
Run a script to upload files after xx minutes . Got that sorted as well.
But what I dont understand is… Why is the content the exact same in gdrive and media?
Where should plex libraries be build from? media? gdrive? IM SO lost
Thanks
Morphy