Changing "Transfers" option back from 0 doesn't start uploads in VFS cache

What is the problem you are having with rclone?

I'm trying to find a solution to have the rclone VFS cache only upload files at night. I previously tried to use --bwlimit but it seems it can only be crippled down to 1 byte a second but never fully stopped. My next try was setting Transfers to 0 via

rclone rc options/set --json '{"main": {"Transfers": 0}}'

This brings all uploads to a complete halt and puts all updated/created files to the queue. Now when setting Transfers back to 4

rclone rc options/set --json '{"main": {"Transfers": 4}}'

rclone doesnt start clearing the queue but instead keeps idling until the next change to the VFS cache (either creating or updating a file).

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

rclone v1.65.2

  • os/version: debian 11.9 (64 bit)
  • os/kernel: 6.2.16-20-bpo11-pve (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.6
  • go/linking: static
  • go/tags: none

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

2x Onedrive Business through rclone union

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

/usr/bin/rclone mount OnedriveUnion: /mnt/onedrive --vfs-cache-mode full --tpslimit 3 --tpslimit-burst 0 --log-level INFO --rc

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[OnedriveUnion]
type = union
upstreams = ONEDRIVE_TB: ONEDRIVE:
search_policy = all
action_policy = mfs
create_policy = mfs

[ONEDRIVE]
type = onedrive
region = global
token = XXX
drive_id = XXX
drive_type = business

[ONEDRIVE_TB]
type = onedrive
token = XXX
drive_id = XXX
drive_type = business

A log from the command that you were trying to run with the -vv flag

This is the log when Transfers is set to 0 and a file is added to the VFS cached remote.

2024/03/07 14:07:12 INFO  : test.file: vfs cache: queuing for upload in 5s

This is the log after Transfer was set back to 4 and rclone is in idle instead of uploading the file in the queue.

2024/03/07 14:07:16 INFO  : vfs cache: cleaned: objects 11090 (was 11090) in use 1, to upload 1, uploading 0, total size 40.743Gi (was 40.743Gi)
2024/03/07 14:08:16 INFO  : vfs cache: cleaned: objects 11090 (was 11090) in use 1, to upload 1, uploading 0, total size 40.743Gi (was 40.743Gi)
2024/03/07 14:09:16 INFO  : vfs cache: cleaned: objects 11090 (was 11090) in use 1, to upload 1, uploading 0, total size 40.743Gi (was 40.743Gi)

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