Mount
Plex or Jellyfin on a fast server
For a server with memory and disk to spare: a large cache, so that what was watched once plays again from disk.
- Media servers
- Servers
Type your own: the command below follows.
rclone mount remote: /media \ --allow-other \ --dir-cache-time 168h \ --vfs-read-chunk-size 64M \ --vfs-read-chunk-size-limit off \ --buffer-size 512M \ --vfs-cache-mode full \ --vfs-cache-max-size 100GAdd 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 take up to 100 GB of disk, and each file being played up to 512 MB of memory.
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 168h
- 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 64M
- 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 off
- 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-cache-max-size 100G
- 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