Mount
Plex on Google Drive, on a NAS or a laptop
The same encrypted library, on a machine with little memory: small buffers, and a short read-ahead instead.
- Media servers
- Google Drive
- Encrypted
- Laptops and NAS
Type your own: the command below follows.
rclone mount gcrypt: /mnt/gmedia \ --allow-other \ --dir-cache-time 24h \ --vfs-read-chunk-size 8M \ --vfs-read-ahead 64M \ --buffer-size 0 \ --vfs-cache-mode writes \ --cache-dir /var/cache/rcloneAdd 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
- gcrypt: stands for a crypt remote on top of Google Drive. Use the name of yours.
Each flag
- --allow-other
- Lets other users of this computer open the mount, such as the account a Plex or Jellyfin server runs as. On Linux it also needs
user_allow_otherin/etc/fuse.conf. It does nothing on Windows. - --dir-cache-time 24h
- 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 8M
- 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-ahead 64M
- 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 - --buffer-size 0
- 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 writes
- 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
- --cache-dir /var/cache/rclone
- The folder where rclone keeps its cache. The one here is a usual place on a Linux server: use a folder with room for the cache.rclone’s default: a folder in your home folder