Rclone help no found cache

Good afternoon my friends.. I have a problem with my rclone, even though I configure a cache, it takes a while to open the files, a difference of 3s for a local file, to 9s for a file already cached in rclone, every time I open it a new file, which is in rclone, it edits the file in the cache folder, as if it were downloading it again, could there be an error in the command?

rclone mount --buffer-size=4M --dir-cache-time=48h --vfs-cache-max-size=300G --vfs-cache-max-age=999h --vfs-cache-mode=full --vfs-read-chunk-size=4M --cache-dir=/root/cache --allow-other VOD: /VOD

Try with some more default options.

rclone mount --dir-cache-time=48h --vfs-cache-max-size=300G --vfs-cache-max-age=999h --vfs-cache-mode=full --cache-dir=/root/cache --allow-other VOD: /VOD

I do not think --buffer-size=4M and --vfs-read-chunk-size=4M are needed. Such small chunk can create unnecessary overhead affecting overall performance.

1 Like

welcome to the forum,

how do you know?

  • that the file is in the rclone cache?
  • that rclone is downloading the entire file it again?

fwiw, the only way to know for sure is to use a rclone debug output, by adding -vv

and can you answer all the questions?
rclone version
rclone config redacted

  • that the file is in the rclone cache?
    yes
  • that rclone is downloading the entire file it again?
    yes

root@s:/VOD/py# rclone version
rclone v1.67.0-beta.7977.fea61cac9

  • os/version: ubuntu 18.04 (64 bit)
  • os/kernel: 4.15.0-213-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.3
  • go/linking: static
  • go/tags: none
    root@s:/VOD/py# rclone config redacted
    [VOD]
    type = opendrive
    username = XXX
    password = XXX

[teste-cache]
type = cache
remote = VOD:/cache
plex_url = http://127.0.0.1:32400
plex_username = XXX
plex_password = XXX

Double check the config for sensitive info before posting publicly

root@s:/VOD/py#

so i am a bit confused, what you need help with, as your write both.

  • Rclone help no found cache
  • that the file is in the rclone cache? yes

ok, but i ask again, how do you know that for a fact?
please, now, we need a snippet from a rclone debug log, that clearly proves that.

what is there a specific reason to run the beta, instead of stable?

It was what was provided on the opendrive website, in fact, I've never used rclone, I'm totally lost, just doing tests to try to solve my problem

we are trying to help and making progress...

sorry, still not sure what the problem is?
@kapitainsky?

the problem is that even files already saved in cache, it is downloading again and replacing the file again

I think start with basics - install the latest rclone. Not some beta version.

Then try with:

rclone mount --dir-cache-time=48h --vfs-cache-max-size=300G --vfs-cache-max-age=999h --vfs-cache-mode=full --cache-dir=/root/cache --allow-other VOD: /VOD

Based on your config it does not use any cache remote - you can delete it from your config file.

are you running rclone as root? As if not than maybe your rclone can not write to your cache location? Also does this folder exist?

yes, it is saved right in the folder, you can check the files

Should I change the version of rclone then? to do a better test.. I believe that in other versions, there is no opendrive option

Is supported out of the box since rclone v1.42... not sure why you are using some beta version.

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