The ‘rclone mount’ command allows you to mount a remote cloud storage service (like Google Drive, Dropbox, Amazon S3, etc.) as a local file system on your service.
If you’re planning to reinstall the SSH application, you can create a backup of the .rclone.conf file to avoid going through the initial setup process again.
Simply backup the file before reinstalling the SSH module, and restore it once the new version is installed. This will help you retain your previous configuration settings.
This guide assumes that you have already set up your Rclone drive following the instructions provided in a previous guide.
Any application using the rclone mount for example Plex would need to be restarted after the ‘rclone mount’ command has been used.
When using the mount command, replace ‘Gdrive’ with the name you assigned to your remote during the Rclone setup. Additionally, you have the option to specify a folder instead of using a forward slash.
You can only mount the Rclone drive to the /rclone-mnt folder.
If you have multiple rclone drives to mount, you can do so by creating subdirectories under /rclone-mnt. For example, use /rclone-mnt/mnt1 and /rclone-mnt/mnt2 for mounting multiple drives.
Rclone Mount Command
screen -d -m rclone mount --allow-non-empty --allow-other --use-mmap --dir-cache-time 168h --timeout 1h --umask 002 --poll-interval=1m --vfs-cache-mode writes --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 2048M --tpslimit 10 Gdrive:/ /rclone-mnt
Rclone Unmount Command
/bin/fusermount3 -uz /rclone-mnt
Due to the privileges required to run systemd, it is currently not possible to use systemd for automatically mounting the Rclone drive after a reboot or system crash.