RAM or DISK
if disk then which directory?
Cache what? What rclone command?
Maybe docs will help you:
what rclone command?
rclone mount
rclone server
Where does rclone cache for these commands?
Check docs link I sent you.
Its not stated in docs.
If present show screenshot and prove
disk. but if you want to use memory, then use a ramdisk
How to use RAMDISK in Windows?
Of course choice is yours but it is IMO waste of RAM. Cache speed is not really bottleneck unless for very exotic and advanced workflows.
And it has downside that is not persistent...
Something is strange, in Windows i mounted gdrive and playing a video in mpv but %LOCALAPPDATA%\rclone
does,nt have cache
post the top thirty lines of the debug log.
2024/08/31 22:21:10 DEBUG : rclone: Version "v1.67.5" starting with parameters ["D:\\rclone.exe" "mount" "gd:" "G:" "--log-file=rc.log" "--log-level=DEBUG"]
2024/08/31 22:21:10 DEBUG : Creating backend with remote "gd:"
2024/08/31 22:21:10 DEBUG : Using config file from "D:\\rclone.conf"
2024/08/31 22:21:11 DEBUG : Network mode mounting is disabled
2024/08/31 22:21:11 DEBUG : Mounting on "G:" ("gd")
2024/08/31 22:21:11 DEBUG : Google drive root '': Mounting with options: ["-o" "attr_timeout=1" "-o" "uid=-1" "-o" "gid=-1" "--FileSystemName=rclone" "-o" "volname=gd"]
2024/08/31 22:21:11 DEBUG : Google drive root '': Init:
2024/08/31 22:21:11 DEBUG : Google drive root '': >Init:
2024/08/31 22:21:11 DEBUG : /: Statfs:
2024/08/31 22:21:11 DEBUG : Google drive root '': read info from Shared Drive "rs"
2024/08/31 22:21:11 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Readlink:
2024/08/31 22:21:11 DEBUG : /: >Readlink: linkPath="", errc=-40
2024/08/31 22:21:11 DEBUG : /: Getxattr: name="non-existant-a11ec902d22f4ec49003af15282d3b00"
2024/08/31 22:21:11 DEBUG : /: >Getxattr: errc=-40, value=""
The service rclone has been started.
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Opendir:
2024/08/31 22:21:11 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:11 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:11 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/08/31 22:21:11 DEBUG : /: Statfs:
2024/08/31 22:21:11 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Releasedir: fh=0x0
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Releasedir: errc=0
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Opendir:
2024/08/31 22:21:11 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:11 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:11 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/08/31 22:21:11 DEBUG : /: Releasedir: fh=0x0
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Releasedir: errc=0
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:11 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:11 DEBUG : /: Opendir:
2024/08/31 22:21:11 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:11 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:11 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/08/31 22:21:11 DEBUG : /: Releasedir: fh=0x0
2024/08/31 22:21:11 DEBUG : /: >Releasedir: errc=0
2024/08/31 22:21:14 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Opendir:
2024/08/31 22:21:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Opendir:
2024/08/31 22:21:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:15 DEBUG : /autorun.inf: >Getattr: errc=-2
2024/08/31 22:21:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:15 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/08/31 22:21:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:15 DEBUG : /: >Opendir: errc=0, fh=0x1
2024/08/31 22:21:15 DEBUG : /: Statfs:
2024/08/31 22:21:15 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2024/08/31 22:21:15 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /autorun.inf: >Getattr: errc=-2
2024/08/31 22:21:15 DEBUG : /: Releasedir: fh=0x1
2024/08/31 22:21:15 DEBUG : /: >Releasedir: errc=0
2024/08/31 22:21:15 DEBUG : /: Releasedir: fh=0x0
2024/08/31 22:21:15 DEBUG : /: >Releasedir: errc=0
2024/08/31 22:21:15 DEBUG : /autorun.inf: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /autorun.inf: >Getattr: errc=-2
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Opendir:
2024/08/31 22:21:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:15 DEBUG : /: >Opendir: errc=0, fh=0x0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2024/08/31 22:21:15 DEBUG : /: >Getattr: errc=0
2024/08/31 22:21:15 DEBUG : /: Opendir:
2024/08/31 22:21:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:15 DEBUG : /: Opendir:
2024/08/31 22:21:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2024/08/31 22:21:15 DEBUG : /: >Opendir: errc=0, fh=0x1
2024/08/31 22:21:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2024/08/31 22:21:15 DEBUG : /: >Opendir: errc=0, fh=0x2
2024/08/31 22:21:15 DEBUG : /: Releasedir: fh=0x2
2024/08/31 22:21:15 DEBUG : /: >Releasedir: errc=0
@jojothehumanmonkey
the cache is disabled by default.
to enable it, use --vfs-cache-mode
. for example, --vfs-cache-mode=full
to specify the location of the vfs file cache, use --cache-dir
and check out my summary of the two rclone vfs caches
not sure what that is?
please post the output of rclone version
@asdffdsa if cache is disabled then how does rclone let mpv play video, does rclone store video data in RAM to play it?
first, post the output of rclone version
.
rclone v1.67.0
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.4037 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.0
- go/linking: static
- go/tags: cmount
the log you posted has v1.67.5
just trying to understand that difference?