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
- 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?