systemd says that the services are active, however Rclone is not mounted.
Movies
pi@pi:~ $ sudo systemctl status gdrive-team_movies
● gdrive-team_movies.service - gdrive-team_media_mount
Loaded: loaded (/etc/systemd/system/gdrive-team_movies.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2019-08-22 18:48:44 IST; 16ms ago
Main PID: 4249 (rclone)
Tasks: 1 (limit: 2200)
Memory: 128.0K
CGroup: /system.slice/gdrive-team_movies.service
└─4249 /usr/bin/rclone mount --daemon --config=/home/pi/.config/rclone/rclone.conf --allow-other --fast-list media:Movies/ /gdrive_team/movies
Aug 22 18:48:44 pi systemd[1]: Started gdrive-team_media_mount.
TV Shows
pi@pi:~ $ sudo systemctl status gdrive-team_tv-shows
● gdrive-team_tv-shows.service - gdrive-team_media_mount
Loaded: loaded (/etc/systemd/system/gdrive-team_tv-shows.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2019-08-22 18:55:09 IST; 206ms ago
Main PID: 5306 (rclone)
Tasks: 7 (limit: 2200)
Memory: 3.4M
CGroup: /system.slice/gdrive-team_tv-shows.service
└─5306 /usr/bin/rclone mount --daemon --config=/home/pi/.config/rclone/rclone.conf --allow-other --fast-list media:TV\ Shows/ /gdrive_team/tv_shows
Aug 22 18:55:09 pi systemd[1]: Started gdrive-team_media_mount.
df doesn't show the mounted file systems. Although I'm not sure whether it's to blame but tmp_upload_path and chunk_path are located on a local hard disk, formatted HFS+.
rclone version
rclone v1.48.0
- os/arch: linux/arm
- go version: go1.12.6
Which cloud storage system are you using? (eg Google Drive)
That did it.
.
.
If I use a HFS+ formatted local drive for storing the tmp uploads and chunks, do I need to set any special permissions for it? Also how do I store the directory structure so it isnt reloaded each time?
The best bet is to have a larger dir-cache-time so it stays in memory longer as there isn't anything to make it persistent or store it.
You can use the cache backend to achieve this functionality, but it's a bit slower imo and uses local disk space for chunking.
Cloud storage in general has no concept of permissions so when I mount it, I use the user and group I want in my systemd file and ensure that the proper umask is set to get the right permissions I want.
My use case is my own home server / no other users and I am in complete control so I have a pretty broad user/group read write setup.
The other issue I'm facing from my RPi 3B+ is that the read speed of files is very slow.
I have a reasonably fast connection but files take too long to open and then it buffers while playing back a video file from a rclone mount.