I want to download files directly to the mounted folder so they upload to remote, but once they get uploaded I don't want them to use local storage (I only got a Rasperry Pi...). Is this done automatically? Is it necessary that I change any settings (like cache)? Also I use it for Plex, so I still need to have the files listed.
What is your rclone version (output from rclone version)
os/version: raspbian 10.11
os/kernel: 5.10.63-v7l+ (armv7l)
Which cloud storage system are you using?
I have been searching for my question in case it has been already made, but didn't find anything
Hope I did this right!
when the cache is full, rclone will removed unused items. --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
using the default values is usually best but if you want a deeper understanding:
shorten the time duration that rclone keeps an object in the cache --vfs-cache-max-age=10s --vfs-cache-poll-interval=10s
use a log, add -v to the rclone mount command for console output or --log-level=INFO --log-file=/path/to/folder/log.txt to output to a log file.
2021/10/12 14:24:58 INFO : file.txt: vfs cache: queuing for upload in 5s
2021/10/12 14:25:00 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 48.672Ki (was 48.672Ki)
2021/10/12 14:25:04 INFO : file.txt: Copied (new)
2021/10/12 14:25:04 INFO : file.txt: vfs cache: upload succeeded try #1
2021/10/12 14:25:10 INFO : file.txt: vfs cache: removed cache file as Removing old cache file not in use
2021/10/12 14:25:10 INFO : vfs cache RemoveNotInUse (maxAge=10000000000, emptyOnly=false): item file.txt was removed, freed 49840 bytes
2021/10/12 14:25:10 INFO : vfs cache: cleaned: objects 0 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 48.672Ki)
2021/10/12 14:25:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
just curious what is the pi model?
with rclone, i use a pi4 running ubuntu and and a pizero running raspbian
is the vfs cache stored on sdcard or external usb drive?
might want to use --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
"If using --vfs-cache-max-size note that the cache may exceed this size for two reasons.
Firstly because it is only checked every --vfs-cache-poll-interval.
Secondly because open files cannot be evicted from the cache."
Since I don't expect to have much traffic I'm not that worried about limiting the cache, but I'll use it just in case. I plan to get some cheap storage to increase the cache and don't relay on 64Gb, but I started with this just two days ago and want to go slowly