Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jan 24, 2014 12:05 am 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:35 pm
Posts: 111
Location: United Kingdom
I'd like to use some of the storage on my Linode as backup / shared storage and was wondering what the best option was for this. I run Ubuntu 12.04 LTS on all my nodes.

I was originally thinking of just using NFS but that doesn't really offer any protection when mounting file systems across a public network so I was wondering if anyone knew of any other options that would work in this case?


Top
   
PostPosted: Fri Jan 24, 2014 3:31 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
You want sshfs.

_________________
Image


Top
   
PostPosted: Fri Jan 24, 2014 4:09 pm 
Offline
Senior Newbie

Joined: Fri Jan 24, 2014 12:05 pm
Posts: 8
Cromulent wrote:
that doesn't really offer any protection when mounting file systems across a public network

These cases are where VPN/tunneling protocols like L2TP and OpenVPN work nicely. The Linode Library has a fairly illustrative article on the latter.

Your assertion about NFS specifically is not entirely true, however. rfc5403 defines RPCSEC_GSS--secure token exchange for RPC protocols (like NFS). Machine and user service principals are issued by a KDC, which generates tickets that are used to authenticate each. The rpc.gssd(8) manpage also describes the (optional) cryptography mechanisms you can utilize for the transfer of your actual payload.

And once you set up your KDC, ssh/pam-krb5 authentication is actually quite fun, as a bonus.

anderiv wrote:
You want sshfs.

sshfs, particularly due to being implemented using FUSE hackery, ends up being quite non-performant and not a very fun experience.


Last edited by buhman on Fri Jan 24, 2014 4:11 pm, edited 1 time in total.

Top
   
PostPosted: Fri Jan 24, 2014 4:10 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
buhman wrote:
Of all options, sshfs, particularly due to being implemented using FUSE hackery, ends up being quite non-performant and not a very fun experience.


I dare say, NFS over VPN wouldn't be a great experience either. :)

There was a point where FUSE filesystems *did* suck performance wise, but in my experience, things have drastically improved through the last couple years. Honestly, over a high-latency WAN connection, whatever performance issues FUSE has are *not* going to be the performance bottleneck.

_________________
Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group