I have the following setup. Running NFS over an ssh tunnel is very slow for the 1.3 TB & thousands of files I have.
synology box <---> NAT (work) <---> internet <---> NAT (home) <---> ubuntu server
I have a 1.3 TB share on the synology box that I want to represent with a 'virtual' file system on the ubuntu server (they're mostly music files). I currently run nfs over a reverse ssh tunnel to accomplish this (I cannot modify my work NAT, but I can port forward on my home NAT). My setup works, but it's really slow. I'm wondering if rclone might be faster for, for example, detecting changes in files, streaming them, etc? Many thanks in advance.
What is the problem you are having with rclone?
No problem - not yet installed.
Run the command 'rclone version' and share the full output of the command.
Not yet installed.
Which cloud storage system are you using? (eg Google Drive)
None - synology box on one side, ubuntu box on the other.
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Thanks @asdffdsa - I've tried using sshfs - sftp, but I don't think it's any faster. So, can rclone present a virtual filesystem to linux, which streams upon access?
btw, tailscale looks very cool - hadn't seen it before, thanks.
sshfs is quite slow as it runs shell commands on the remote server to do stuff.
If you can use sftp that is a lot quicker, and rclone has a full featured sftp backend which you could then use with rclone mount.
Whether that is quicker than NFS I wouldn't like to guess, but in my experience NFS is quite slow, and anything tunneled over an ssh connection is slow, so I think it is a pretty low bar to jump!