vfs: document simultaneous usage with the same cache shouldn't be used

Fixes #2227
This commit is contained in:
Nick Craig-Wood 2021-02-16 17:15:05 +00:00
parent c81311722e
commit 9d37c208b7

View File

@ -110,6 +110,13 @@ for two reasons. Firstly because it is only checked every
!--vfs-cache-poll-interval!. Secondly because open files cannot be !--vfs-cache-poll-interval!. Secondly because open files cannot be
evicted from the cache. 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 #### --vfs-cache-mode off
In this mode (the default) the cache will read directly from the remote and write In this mode (the default) the cache will read directly from the remote and write