Multiple rclone instance with different serve protocol using the same cache config?

What is the problem you are having with rclone?

Can two instance of rclone serving the same drive use the same VFS cache? How will they respect the limits (in terms of max cache size and age)?

What is your rclone version (output from rclone version)

rclone v1.53.2-DEV

  • os/arch: android/arm64
  • go version: go1.15.3

Which OS you are using and how many bits (eg Windows 7, 64 bit)

  • rooted android 10.0

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)

rclone serve webdav --fast-list --dir-cache-time 960h \
 --addr 192.168.0.40:8080 \
 --log-level INFO --log-file "/data/data/com.termux/files/home/rclone-cache/rclone.log" \
 --poll-interval 30s --rc --rc-no-auth \
 --cache-dir="/data/data/com.termux/files/home/rclone-cache" \
 --vfs-cache-mode full --vfs-cache-max-size 5G --vfs-cache-max-age 120h \
 ud:/

Same command but with ftp share

I don't recommend doing that - the two caches will fight... If you want to then use a different --cache-dir for each one.

Internally rclone could run an ftp and a webdav serve from the same cache, but there isn't a way to specify that on the command line yet.

If it was possible to start servers via the rc then that would work.

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