I’ve been using clone mount to mount gdrive to local dir and I experience extreme lag when accessing files or drag and drop them around. It almost feels like the nothing is mounted locally and that every operation has to fetch or push files directly from the web.
I mount things using the following command:
rclone mount gdrive: ~/gdrive_local --vfs-cache-mode full
I remember reading in the docs that is required in order to have full read/write access to the files. Basically I mount gdrive locally open a pdf, edit it locally, save and things should be updated on gdrive via rclone?
So my use case is definitely different from yours as I’m streaming media.
In that case, you might be able to get away with just ‘writes’ as opposed to full. If you use full, it will download a file completely if you even do a read operation. If you post a bit more of your use case and what you are trying to accomplish, I’m sure some other folks will chime in with suggestions on that use case.
Sure thing. My use case is the following I have a bunch of files in gdrive and I want to mount to local dir and have full access to them read/write. Because sometimes you cant infer from the file name, you need to read the titles, after that maybe make some changes in the files probably add some annotations, save the files and have then sync.
Why doesn’t it do that once when you mount the directories and keep doing it on every operation. Shouldn’t it be downloading them once and only trigger a sync if the file has changed?
Thanks for the reply. Still don’t understand why it takes 7min to copy 10 pdfs from the mount dir to another local dir, shouldn’t that be as fast as copying the same amount of files between 2 local dirs?
Apologies my mistake of not explaining better. I don’t know the internals of rclone, but from looking around it seems that most tools rely on FUSE and I was wondering since sshfs supports FUSE if one could mount directly just using sshfs and not rclone to google drive?