Fully read ahead a mounted gdrive folder

What is the problem you are having with rclone?

Reading the contents of every subfolder in my mounted gdrive folder takes too long.

Run the command 'rclone version' and share the full output of the command.

rclone v1.66.0

  • os/version: Microsoft Windows 10 Pro 22H2 (64 bit)
  • os/kernel: 10.0.19045.4412 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.22.1
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount mygdrive:MyFolder/ A: --vfs-cache-mode full -vv 

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[mygdrive]
type = drive
scope = drive
token = XXX
team_drive =
client_id = XXX
client_secret = XXX

A log from the command that you were trying to run with the -vv flag

this is just a sample:
https://pastebin.com/8T6uFqcA

I just started learning about rclone today, I find it to be the best alternative to using google drive desktop.

My mounted GDrive folder (Shared to me) is around 30GBs, and contains PSD and TIFF files that I need to work on them constantly in Photoshop, that means creating, editing, saving (overwriting) or deleting these files over and over again.

But everytime I access a subfolder in MyFolder, it takes a long while (I assume downloading the acutal files to my computer) in order for them to load, and the debug is spitting lots of ChunkedReader.Read statements.

I just want it to read the entire mounted folder ahead, even if it takes an entire day, and then it's ready for read/write and all the other stuff that Google Drive Desktop offers. Also when another user who also has access to the shared folder created/edited/deleted a folder from their browser using gdrive website, my mounted folder will also be updated with said changes immediately. (if not possible, I wonder if there is a way to trigger it to update any recent changes without reading the entire thing again.)

Since I'm a beginner in rclone I just ran the simple command I mentioned above, I heard about commands like readahead and vfs cache but couldn't figure out this stuff on my own.

I tried looking up a similar question that fits my needs but couldn't find anything, so I'll greatly appreciate your help.

welcome to the forum,

  • rclone md5sum a:\ > nul
  • rclone cat a:\ > nul

and might want to increase --drive-chunk-size

but, by default, rclone will expire files after one hour, so might want
--vfs-cache-max-age=9999h

--poll-interval

check out my summary of the two rclone caches
https://forum.rclone.org/t/status-about-using-rclone-for-music-storage-playback-in-2021-access-times-improved/27648/34