Mount
A mount for heavy reading and writing
A large cache on disk, for apps that open many files at once and jump around in them, such as editors and databases.
- Servers
Type your own: the command below follows.
rclone mount remote: /mount/point \ --dir-cache-time 72h \ --vfs-read-chunk-size 32M \ --vfs-read-chunk-size-limit 2G \ --buffer-size 512M \ --vfs-cache-mode full \ --vfs-read-ahead 1G \ --use-mmap \ --vfs-cache-max-age 72h \ --vfs-cache-max-size 1TAdd to Rclone UI opens it in the app’s Templates window, ready to save. No app yet? Download Rclone UI, free.
What it does
Shows a remote as a folder on this computer, so that any app can open its files. rclone’s docs for mount
- The cache can grow to 1 TB of disk.
Each flag
- --dir-cache-time 72h
- How long folder listings are remembered before rclone asks the remote again. Longer means fewer requests and faster browsing, but changes made elsewhere show up later.rclone’s default: 5m
- --vfs-read-chunk-size 32M
- The size of the first piece rclone asks for when an app reads a file. Smaller pieces start playback sooner. Larger ones need fewer requests.rclone’s default: 128M
- --vfs-read-chunk-size-limit 2G
- While a file keeps being read, each piece is twice the size of the one before, up to this size. With off, the pieces keep growing.rclone’s default: off
- --buffer-size 512M
- Memory set aside for each file being read or copied, so that rclone can read ahead of the app. Each open file takes this much memory.rclone’s default: 16Mi
- --vfs-cache-mode full
- How much of each file is kept on this computer’s disk. With off, apps can read files but most can’t save them. With writes, files being saved are cached, so apps can save. With full, whole files are cached as they are read, so apps can jump around in them and read them again from disk.rclone’s default: off
- --vfs-read-ahead 1G
- With
--vfs-cache-modefull, how much more rclone downloads ahead of what the app is reading, on top of--buffer-size.rclone’s default: 0 - --use-mmap
- Takes the memory for those buffers straight from the system, so that it is given back as soon as rclone is done with it. Without it, rclone can hold on to more memory than it uses.
- --vfs-cache-max-age 72h
- How long a file stays in the cache after it was last used.rclone’s default: 1h
- --vfs-cache-max-size 1T
- The most disk space the cache may take. Once it is full, the files used longest ago are removed first.rclone’s default: off, no limit