What does rclone do if cache is full?

What is the problem you are having with rclone?

So my process is fairly common, radarr -> qBittorrent -> rclone mount. I can download like 5 movies before I can upload 1 movie to my remote:. I know vfs cache will remove the first movie that are not being use when my cache is full but what will happen if I keep downloading movies even if my cache is full?

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.1
os/version: raspbian 11.4 (64 bit)
os/kernel: 5.15.56-v8+ (aarch64)
os/type: linux
os/arch: arm64
go/version: go1.18.5
go/linking: static
go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

ExecStart=/usr/bin/rclone mount gdrive-*****-crypt: /media/gdrive/***** \
--config=/home/pi/.config/rclone/rclone.conf \
--allow-other \
--log-file /media/usb01/rclone/logs/gdrive/*****.log \
--log-level INFO \
--dir-cache-time 168h \
--umask 002 \
--cache-dir=/media/usb01/rclone/cache/***** \
--vfs-cache-mode full \
--vfs-cache-max-size 500G \
--vfs-write-back 1m \
--vfs-cache-max-age 168h \
--vfs-read-ahead 1G \
--transfers 1 \
--tpslimit 10 \
--tpslimit-burst 10 \
--stats 1m \
--stats-one-line
[gdrive-*****]
type = drive
token = *****
drive_id = *****
drive_type = personal

[gdrive-*****-crypt]
type = crypt
remote = gdrive-*****:*****
filename_encryption = standard
directory_name_encryption = true
password = *****
password2 = *****

If the cache gets full, it works to empty it to get back to the max size.

If the disk fills that the cache is on, things break.

i still don't get it. let's say i have 1tb space then set the cache to use 500G, let say /rclone/cache use 500gb, then /download have 100gb, what will happen if radarr move the 100gb to rclone mount and that 500gb cache still in use because rclone is not yet done on uploading them to remote?

thanks

It's all in the log file as I could show but no log file to look at :frowning:

If the cache gets full, it works to empty it.

There's no magic as if you download 600G and have 500G max size, and haven't uploaded anything, you have 600G on disk until it uploads.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.