# Fully read ahead a mounted gdrive folder

**URL:** <https://forum.rclone.org/t/fully-read-ahead-a-mounted-gdrive-folder/46376>\
**Category:** Help and Support\
**Created:** [June 11, 2024, 11:01pm UTC](https://forum.rclone.org/t/fully-read-ahead-a-mounted-gdrive-folder/46376 "2024-06-11T23:01:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Bachman](https://forum.rclone.org/user_avatar/forum.rclone.org/steve_bachman/32/16046_2.png) [@Steve\_Bachman](https://forum.rclone.org/u/Steve_Bachman)\
**Post date:** [June 11, 2024, 11:01pm UTC](https://forum.rclone.org/t/fully-read-ahead-a-mounted-gdrive-folder/46376/1 "2024-06-11T23:01:10Z")

</div>

#### 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`)

```auto
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.

```auto
[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](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.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [June 11, 2024, 11:24pm UTC](https://forum.rclone.org/t/fully-read-ahead-a-mounted-gdrive-folder/46376/2 "2024-06-11T23:24:40Z")

</div>

welcome to the forum,

> [@Steve\_Bachman](#):
>
> I just want it to read the entire mounted folder ahead

- `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`

> [@Steve\_Bachman](#):
>
> 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.)

`--poll-interval`

> [@Steve\_Bachman](#):
>
> couldn't figure out this stuff on my own

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](https://forum.rclone.org/t/status-about-using-rclone-for-music-storage-playback-in-2021-access-times-improved/27648/34)

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [July 11, 2024, 11:24pm UTC](https://forum.rclone.org/t/fully-read-ahead-a-mounted-gdrive-folder/46376/3 "2024-07-11T23:24:46Z")

</div>

Closed on July 11, 2024, 11:24pm UTC

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