I observed that even after shifting from --vfs-cache-mode writes to --vfs-cache-mode full the cache completely rebuilds when i unmount and remount a remote(gdrive). What is the meaning of caching if eventually the cache will rebuild itself after unmount and remount? I usually view my zoom videos(huge files so would like to cache it as it buffers a bit) from the remote and want it to be cached and buffer less while viewing it again but on remounting the remote after maybe a restart, the whole cache rebuilds and the video buffers again. My current mount command is:
rclone mount --daemon --allow-other --vfs-read-chunk-size 32M --vfs-cache-max-size 10G --poll-interval 15m --vfs-cache-mode full --tpslimit 10 --tpslimit-burst 0 --cache-dir /Users/ishaanrathod/rclone/cache --disable About GDrive: /Users/ishaanrathod/rclone/GDrive
Please explain me whats the reason behind cache afterall?
Also would like to know if there are any other directories where cache is being built, i would like to be aware of it and would want to shift it to a custom folder to be aware of disk space usage as i do not have a lot of disk space and hence using remote storage.
can u share the flag used to set a custom path for it?
Im guessing u r talking about the config file path, that’s fine. I just wanna know if my cache is getting built up somewhere else on the system too and if there’s no max limit to it i would want to change the folder path and apply a max limit to it. New to rclone and do not understand these arguments!
--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
that is not a hard limit, as if files are in use, rclone will not remove them.
--vfs-cache-max-age duration Max time since last access of objects in the cache (default 1h0m0s)
add -vv to the command for debug output.
rclone will let you know when a file is added to the cache, removed from the cache. when the file is already in the cache, when chunks of a file need to be downloaded.