Wiki > rclone
rclone is a command-line program to sync files and directories to and from
Google Drive Amazon S3 Openstack Swift / Rackspace cloud files / Memset Memstore Dropbox Google Cloud Storage Amazon Drive Microsoft One Drive Hubic Backblaze B2 Yandex Disk The local filesystem And many more
rclone is installed by default on all of our servers.
Extensive documentation for rclone is available on its homepage.
You might receive the following error when using FUSE mounts without root privileges. This is fine and it can be ignored. The error is:
mount helper error: fusermount: failed to open /etc/mtab: Permission denied
Many guides on the Internet have said to use the "allow_other" parameter, however you should not do this. This is only intended for when Plex runs on its own user account, and on a shared system it would mean other users being able to access your mounted data. We have this module disabled and you will receive errors if trying to use it.
If you receive this error:
mount helper error: fusermount: failed to chdir to mountpoint: Permission denied
It means that the mountpoint is broken. Forcefully unmount it with
fusermount -u ~/mountedfolder and then mount again normally.
Finally, do not plan on moving data directly to your mounted remote storage, for example with move-on-completion functions in your BitTorrent client. It simply will not work well, and rclone's mount function is not designed for that. While it can work on occasion, you will encounter issues. You should upload the data to the remote storage first, such as rclone's
move functions. Do not download torrents to mounted remote storage, and do not upload from mounted remote storage.
To force an unmount you can do
fusermount -uz path/to/mount
You can view your paths that are currently mounted:
df -h | grep user
Example mount command
We get asked frequently what parameters we suggest using for rclone when mounting Drive for the purpose of streaming through a media player. We recommend against doing this at all, but in the interest of it not negatively impacting the servers more, we have come up with this command that performs well for reasonable usage in our testing.
rclone mount --daemon --daemon-timeout=5m --buffer-size=32M --dir-cache-time=84h --vfs-cache-mode=minimal --vfs-cache-max-age=6h remote: ~/mount/