From 9d37c208b7ed24dcfd8519776253e5a7399ef55c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 16 Feb 2021 17:15:05 +0000 Subject: [PATCH] vfs: document simultaneous usage with the same cache shouldn't be used Fixes #2227 --- vfs/help.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vfs/help.go b/vfs/help.go index 67758f42e..b068f88e8 100644 --- a/vfs/help.go +++ b/vfs/help.go @@ -110,6 +110,13 @@ for two reasons. Firstly because it is only checked every !--vfs-cache-poll-interval!. Secondly because open files cannot be evicted from the cache. +You **should not** run two copies of rclone using the same VFS cache +with the same or overlapping remotes if using !--vfs-cache-mode > off!. +This can potentially cause data corruption if you do. You can work +around this by giving each rclone its own cache hierarchy with +!--cache-dir!. You don't need to worry about this if the remotes in +use don't overlap. + #### --vfs-cache-mode off In this mode (the default) the cache will read directly from the remote and write