Rclone cache help

Hi the below service, uploads are cached locally and reduces Coreelec .storage size and slows system and can’t upload more than 5gb(Coreelec storage size). Please help this never used to happen.

[Unit]
Description=RClone Gdrive
After=network-online.target

[Service]
Type=simple
Environment=PATH=/storage/.opt/bin:/.opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStartPre=/bin/mkdir -p /var/media/Gdrive
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/logs
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/cache
ExecStart=/storage/.config/rclone/rclone mount \
  --log-file /storage/.config/rclone/logs/rclonemount.log \
  --log-level INFO \
  --allow-other \
  --allow-non-empty \
  --tpslimit 10 \
  --tpslimit-burst 10 \
  --dir-cache-time=48h \
  --buffer-size=64M \
  --attr-timeout=1s \
  --vfs-read-chunk-size=64M \
  --vfs-read-chunk-size-limit=2G \
  --vfs-cache-max-age=5m \
  --vfs-cache-mode=writes \
  --cache-dir /storage/.config/rclone/cache \
  --config=/storage/.config/rclone/rclone.conf \
  Gdrive: /var/media/Gdrive
ExecStop=/bin/fusermount -uz /var/media/Gdrive
Restart=on-abort

[Install]
WantedBy=default.target

Can anyone help me please, thanks.

You really need to explain more to understand the problem.

@vpeter when I upload to my mount drive, it is cached locally here:

And stays there forever even after reboot so my coreelec ./storage space ~ 5gb is reduced by the upload file size to my mount drive.

Try with this optiuon?

--vfs-cache-mode=off

Thanks will try when home, will i still able to write in this mode?

I think you expect too much from here: we are no rclone experts. Just try and see.

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