Rclone mount - VFS cache clarifications


I use this mount command:
mount Media: I: --vfs-cache-max-age 4h --vfs-cache-poll-interval 1h --vfs-read-chunk-size-limit 1G --vfs-cache-mode minimal --attr-timeout 5m --verbose --log-file="n:\VFS Cache\rlonemountservice.log" --cache-dir "n:\VFS Cache" --file-perms=0777

Inside the n:\VFS Cache folder I have:

  • vfs
  • vfsMeta

The question is related to the second one.
My emby server has some folder pointing the mounted I:
every night the server scan the folders for new or updated media and I see generally at 7 am in the log many entries saying for example:

2020/11/11 06:46:22 INFO  : vfs cache RemoveNotInUse (maxAge=14400000000000, emptyOnly=false): item file.mkv was removed, freed 0 bytes

I think these are metadata stored in folder mentioned above.
So the question..
can the vfs and vfsMeta have different storing timing?
I think the cache cleaning occurs every 4hours for both the folders..

make sure to run latest rclone.
it is suggested to use --vfs-cache-mode=full

this is what i do, based on a post from @VBB
Google Drive, Plex, Windows 10

  1. prime the cache
  2. run the emby scan.
1 Like

No they can't. For every file in the vfs there is one in the vfsMeta as they describe one thing, just the data and the metadata are separate.

Yes that is correct.

That probably means that the file had no data, ie rclone had a cache entry but hadn't downloaded any data for that file.

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