Prevent caching on Windows during download

What is the problem you are having with rclone?

rclone caching downloaded data in C:\Users\Robert\AppData\Local\rclone\vfs.
This is quickly filling up my local hard drive.
Is it possible to download directly to gdrive without caching?

I tried command with --vfs-cache-mode off but it wouldn't download. Instead, i get following error:

2020/05/25 11:47:02 ERROR : idm/DwnlData/Robert/doc-00-3o-docs_googleusercontent_com_69/log_69.log: WriteFileHandle.Writ
e: can't seek in file without --vfs-cache-mode >= writes

What is your rclone version (output from rclone version)

rclone v1.51.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

windows server 2012 R2 64bit

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 gdrive: z: --vfs-cache-mode writes

The rclone config contents with secrets removed.

type = drive
client_id = omitted
client_secret = omitted
scope = drive
token = omitted
root_folder_id = omitted

type = cache
remote = gdrive:/gcache
chunk_size = 5M
info_age = 1m
chunk_total_size = 10G

A log from the command with the -vv flag

2020/05/25 11:58:26 DEBUG : /idm/DwnlData/Robert/doc-00-3o-docs_googleusercontent_com_70/doc-00-3o-docs_googleuserconten
t_com: >Getattr: errc=0
2020/05/25 11:58:26 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2020/05/25 11:58:26 DEBUG : /idm/DwnlData/Robert/doc-00-3o-docs_googleusercontent_com_70/doc-00-3o-docs_googleuserconten
t_com: Write: ofst=13275839, fh=0x1
2020/05/25 11:58:26 DEBUG : /: >Getattr: errc=0
2020/05/25 11:58:26 DEBUG : /idm/DwnlData/Robert/doc-00-3o-docs_googleusercontent_com_70/doc-00-3o-docs_googleuserconten
t_com: >Write: n=1401

hello and welcome to the forum,

what are you using the mount for?
copying files?
editing existing files?

when i copy files local to/from cloud, i never use any kind of cache.
if you are editing files, then you would need vfs.

are you using IDM?
how do you have it interacting with rclone mount?

Thanks for the prompt response.
I'm using IDM to download directly to my rclone gdrive mount on z:
So, I guess I'm copying files.

The file sizes are large so it's filing up cache fast

Yes, I'm using IDM. I set the download location on IDM to my rclone mount of z:

i think you will find that rclone mount is not a good destination for idm and bittorrent style programs.

i use bittorrent to download to the local computer and after the transfer completes, the bittorrent client runs a script to move the file to cloud using rclone move, not rclone mount.

if you have idm download a file in one piece, as a web browser would do, you might have better luck.
these features are problematic
"Divides downloads into multiple streams for faster downloading"
"Dynamic segmentation throughout the downloading process."

I will try your suggestion.
So there's no issue with the command I'm using?

the command needs to be based on what you are trying to do.

Is it possible to change to change cache location from here
To my rclone mount?

never heard of someone doing that.
the point of the vfs is to use fast local drive to cache slow cloud storage.

you can change the cache location using

--cache-dir string                   Directory rclone will use for caching.

I tried that and got an error regarding caching on same drive as drive copying to. Theoretically speaking, if I have 2 rclone mounts, one for cache and the other for copying, it should? I will give it a try

why would you want to do that?

Just to prevent caching on local drive.

are you trying to outsmart idm or are you are low on hard drive space?

Signed up for rdp with only 40gb storage. It's the only one I can afford that has 10gbps link. That's why I don't want local caching because the 40gb local hdd doesn't take me far. What would you do in this situation for best results?

what is rdp?
what do you pay?

Windows remote desktop. It's a server with awesome download speed.
I'm paying $20 for unlimited bandwidth

$20, us dollars?
if so, that does not sound like a good deal.
what is the website of this rdp?

10Gbps will use up 40GB in 32 seconds.

does not sound like a good deal to me.
i pay $11 us dollars for a seedbox

  • 1000GB of storage
  • plex server
  • vpn
  • bittorrent clients.
  • rclone support including mounts
  • and a whole lot more

Seedbox? Damn Im a rookie. First time hearing of this. What download speed?
I'm using maxrdp shared windows 2002 rdp.
Which company are you using please?

there are a lot of seedboxes companies but in my research i choose this one.
i use their cheapest plan - AB-1000

Wow! 10gbps download is standard. Im cancelling maxrdp. Thank you very much man. I should have posted earlier.

sure, glad to help.
i am very happy with that seedbox.

let me know if you have questions