Hey #linux#debian people: it’s occurring to me that #rclone might not actually be the best way to do what I’m doing. So: if you had two Debian servers on a vpn, both with 1 gig fiber links to the internet, in cities 100 km apart, how would you go about having shared filesystems between them? Right now I am using rclone mount with sftp. Is there a less janky way?
modulux reshared this.
modulux
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to modulux • • •modulux
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to modulux • • •Daniel Lakeland
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •Nah, NFS 4 is a MODERN protocol, unlike SMB for example which is much more janky. Real encrypted SMB only became a widespread thing less than 10 years ago or so.
What you want specifically is NFS 4 with Kerberos and either sec=krb5i or sec=krb5p
krb5p is suitable for direct over the internet sharing. krb5i is suitable if the NFS goes over VPN.
@modulux
🇨🇦Samuel Proulx🇨🇦
in reply to Daniel Lakeland • • •Daniel Lakeland
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •@modulux
🇨🇦Samuel Proulx🇨🇦 likes this.
🇨🇦Samuel Proulx🇨🇦
in reply to Daniel Lakeland • • •James H
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to James H • • •Tom
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •James H
in reply to Tom • • •🇨🇦Samuel Proulx🇨🇦
in reply to James H • • •Tom
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to Tom • • •Tom
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •I know! It's actually incrediblly simple. I guess hard part for you will be securing your share with the multitude of options. My NAS is local so I just use:
/folder/to/share ip.of.client.x(rw,all_squash,insecure,async,no_subtree_check,anonuid=1000,anongid=1000)
Might give you a place to start.
🇨🇦Samuel Proulx🇨🇦
in reply to Tom • • •https://alex.femto.pub/@yo@alex.femto.pub/
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •what kind of files?
I would consider syncthing as an option in some scenarios. It requires more disk space (files are synchronized) and potentially can have conflicts. But on the other hand, you can continue using files if the connection is broken, and latency is 0.
Otherwise sshfs or an sftp mount could be fine.
There are more sophisticated solutions, if you have very demanding requirements.
🇨🇦Samuel Proulx🇨🇦
in reply to • • •🇨🇦Samuel Proulx🇨🇦
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •Homeserver/Filesystems-guide/networkshares_HowTo-NFSv4.2 at master · zilexa/Homeserver
GitHubreshared this
modulux and Khronos reshared this.
-𝚍𝚜𝚛- (has pronouns)
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •How shared do they have to be?
Low-end: syncthing
Medium: drbd
High: ceph
🇨🇦Samuel Proulx🇨🇦
in reply to -𝚍𝚜𝚛- (has pronouns) • • •-𝚍𝚜𝚛- (has pronouns)
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to -𝚍𝚜𝚛- (has pronouns) • • •James Scholes
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to James Scholes • • •James Scholes
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to James Scholes • • •James Scholes
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to James Scholes • • •Russ O
in reply to 🇨🇦Samuel Proulx🇨🇦 • • •🇨🇦Samuel Proulx🇨🇦
in reply to Russ O • • •