Rclone cache uploading

Hey! Im using rclone gdrive with this config and work greats but i want one more thing. Cache downloading is perfect and show the files in /test/rclone but i want that cache work too when i upload a file PC-->GDRIVE. For example, i download a file in my pc, rcopy to my google drive and i want that file keep in cache rclone folder. It is possible?
Now when i upload a file, and i want open it, it download again from google drive.
Thanks you!

rclone mount --log-level INFO --allow-non-empty --tpslimit 10 --tpslimit-burst 10 --allow-other --dir-cache-time=48h --buffer-size=64M --attr-timeout=1s --vfs-read-chunk-size=64M --gid 100 --uid 1024 --umask 000 --vfs-read-chunk-size-limit=2G --vfs-cache-max-age=32h --vfs-cache-max-size=600G --vfs-cache-mode=full --cache-dir /test/rclone --cache-workers 8 drive: /home/test/teamdrive &

hello and welcome to the forum,

that is for the depreacted cache remote?

which cache? the deprecated cache remote or vfs file cache?

if you copy a file to the mount at /home/test, after the file is upload to gdrive, the file stays in the vfs file cache based on these two flags
--vfs-cache-max-age=32h
--vfs-cache-max-size=600G

when you posted, there was a template of questions, please answer them so we can better help you.

Ok sorry. My rclone version
rclone v1.54.0

  • os/arch: linux/amd64
  • go version: go1.15.7

About --cache-workers, i was using the rclone mount command from a older tutorial of internet, this command is depreacted? can i remove it?

When i copy a file to /home/test, after the file is upload, the file NEVER show at /test/rclone/vfs/blablabla
When i download a file, it show in /test/rclone/vfs/blablabla

Command:
Rclone copy /home/file.mkv drive:/test
For example

( i have 500G free space in "cache or vfs, dont know how should be called", and the time 32h is not a problem)

Thanks again

that is very old, update at https://rclone.org/downloads/#script-download-and-install

yes. and should remove --allow-non-empty unless you are 1000% sure what it is.

now we know you are using the vfs file cache, so let's just call it cache

let's try to reproduce the issue, this time with a debug log.

  1. kill the rclone mount
  2. remove & - will make testing easier.
  3. change --log-level INFO to --log-level DEBUG
  4. add --log-file=/home/rclone.log - you can save the log anywhere you want.
  5. on local, create a text file named file.ext of size one byte.
  6. run rclone mount
  7. copy file.ext to /home/test/teamdrive
  8. after the file is fully uploaded, do not access the mount again.
  9. wait 10 minutes.
  10. kill the rclone mount command
  11. post the full rclone.log

Ok, i update to rclone --version
rclone v1.61.1

  • os/version: debian 11.6 (64 bit)
  • os/kernel: 5.10.0-21-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none

Using the command: /usr/bin/rclone copy file.ext drive:/
Or should i use: /usr/bin/rclone copy file.ext /home/blackdub/teamdrive ?????

2023/01/27 17:05:10 INFO  : Starting transaction limiter: max 10 transactions/s with burst 10
2023/01/27 17:05:10 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "mount" "--log-level" "DEBUG" "--log-file=/wdblue/test.log" "--tpslimit" "10" "--tpslimit-burst" "10" "--allow-other" "--dir-cache-time=48h" "--buffer-size=64M" "--attr-timeout=1s" "--vfs-read-chunk-size=64M" "--gid" "100" "--uid" "1024" "--umask" "000" "--vfs-read-chunk-size-limit=2G" "--vfs-cache-max-age=32h" "--vfs-cache-max-size=600G" "--vfs-cache-mode=full" "--cache-dir" "/wdblue/test" "drive:" "/home/blackdub/teamdrive"]
2023/01/27 17:05:10 DEBUG : Creating backend with remote "drive:"
2023/01/27 17:05:10 DEBUG : Using config file from "/home/blackdub/.config/rclone/rclone.conf"
2023/01/27 17:05:10 DEBUG : vfs cache: root is "/wdblue/test"
2023/01/27 17:05:10 DEBUG : vfs cache: data root is "/wdblue/test/vfs/drive"
2023/01/27 17:05:10 DEBUG : vfs cache: metadata root is "/wdblue/test/vfsMeta/drive"
2023/01/27 17:05:10 DEBUG : Creating backend with remote "/wdblue/test/vfs/drive/"
2023/01/27 17:05:10 DEBUG : fs cache: renaming cache item "/wdblue/test/vfs/drive/" to be canonical "/wdblue/test/vfs/drive"
2023/01/27 17:05:10 DEBUG : Creating backend with remote "/wdblue/test/vfsMeta/drive/"
2023/01/27 17:05:10 DEBUG : fs cache: renaming cache item "/wdblue/test/vfsMeta/drive/" to be canonical "/wdblue/test/vfsMeta/drive"
2023/01/27 17:05:10 DEBUG : Google drive root '': Mounting on "/home/blackdub/teamdrive"
2023/01/27 17:05:10 INFO  : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)
2023/01/27 17:05:10 DEBUG : : Root: 
2023/01/27 17:05:10 DEBUG : : >Root: node=/, err=<nil>
2023/01/27 17:05:10 DEBUG : /: Lookup: name=".Trash"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Lookup: name="BDMV"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Lookup: name=".xdg-volume-info"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Lookup: name="autorun.inf"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Lookup: name=".Trash-1000"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Lookup: name="BDMV"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Lookup: name=".xdg-volume-info"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Lookup: name="autorun.inf"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Attr: 
2023/01/27 17:05:11 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Lookup: name="autorun.inf"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2023/01/27 17:05:11 DEBUG : /: ReadDirAll: 
2023/01/27 17:05:11 DEBUG : /: >ReadDirAll: item=15, err=<nil>
2023/01/27 17:05:11 DEBUG : /: Lookup: name="autorun.inf"
2023/01/27 17:05:11 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory

neither, just bash cp

cp file.ext /home/blackdub/teamdrive

make sure to kill the mount and delete the log file.
if possible, delete all the files in the cache or change the location of the cache to an empty dir
then perform the steps outlined above.

Ok, i tested with cp and rclone copy with full path and now is working, the file is in vfs folder.
Using rclone copy file drive:/ dont work.
Thanks for your time !

by default, if you copy a file direct to gdrive, rclone mount will not see, have to wait one minute.
--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)

if you rclone copy file drive:, wait one minute, rclone should add the file to the vfs dir cache, but not the vfs file cache.

yes, there are two vfs caches, very confusing.
https://forum.rclone.org/t/status-about-using-rclone-for-music-storage-playback-in-2021-access-times-improved/27648/34

so if you want the file in the vfs file cache, that is, inside /test/rclone, then need to download it like so.
cp /home/test/teamdrive /home/dir

thanks for the thanks :wink:

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