Does VFS mode on rclone mount download entire file or just a part of it?

What is the problem you are having with rclone?

Im using rclone mount command and it works somehow but i have a question:
Does VFS mode on rclone mount download entire file or just a part of it? If so what format file does it save? Like fille-chunk-001 or something like that?
I haven't take a look a its cache directory since i haven't test it with large file like 20GB and 200 GB files.

What is your rclone version (output from rclone version)

1.52.1

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

Windows Server 2012 R2

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 google1:\ F: --cache-dir D:\cache --vfs-cache-mode full --vfs-read-chunk-size 20M --vfs-read-chunk-size-limit 200M --vfs-cache-max-age 5m

hello and welcome to the forum,
rclone can and will download chunks as needed.

it depends on the flags you use and what you plan to do with the mount

you have chosen to use this flag
https://rclone.org/commands/rclone_mount/#vfs-cache-mode-full
" When a file is opened for read it will be downloaded in its entirety first."

1 Like

Thanks a lot man :smiley:

your welcome dude.

if you let us know what you plan to do with the mount, we can give better advice

Im intend to mount it with google drive to watch movies, my concern is that if i watch a video files, Will the vfs cache grow until = total size of it if i continue to watch the entire video?
I think my storage won't be able to have enough spaces (in case multiple video files being watched) if the chunks of a video file keep growing so i hope --vfs-cache-max-age 5m can delete some chunks of a file if not accessed in a certain set time like 5 minutes.

i use mounts for streaming all the time, including 4k video.
and i never use the vfs flags.

rclone mount remote: x: --dir-cache-time=1000h --rc --read-only -v

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