LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2009, 12:19 PM   #1
caveden
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Question Fully asynchronous NFS-like protocol to mount home dirs


Hello everybody!

We are setting up a network where users should have remote access to their home dirs, located in a common server. Users should be able to login at any machine on the network and have the same home. The home dir will be used mainly for custom configuration of different applications - sensible data should not be stored there, what makes the risk of losing data not so serious (of course, we'd like to avoid it).

Normally we'd use NFS, with LDAP authentication for that. The problem is the latency. The same server has to be accessible by people on different continents. That makes NFS extremely slow.

Does anybody know any asynchronous protocol (or some other solution that deals with latency better) that allows us to mount remote home dirs as transparently as NFS does?

I've tried the unison file synchronizer, but it depends on ssh and I haven't found a transparent way of authenticating the user so he can download his home dir the first time he logs into a machine he has never logged before.

Thank you!
 
Old 10-04-2009, 12:31 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, I certainly can't think of any better protocol off the top of my head, not that one may not exist though. I have never heard of anyone trying to do a remote /home over WAN, I have always assumed that was the kind of thing you could really only conceivably do over a relatively high speed local network.

Have you tried pushing NFS through a compressed SSH tunnel? That might jump the speed a little (or not, depending on many factors).

Is there really no other way to handle this? Couldn't users just establish an NX connection whenever they are at a remote location, and leave the NFS /home directories for when they are local?
 
Old 10-04-2009, 01:12 PM   #3
caveden
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hi! Thank you for the quick reply!

Quote:
Originally Posted by MS3FGX View Post
Have you tried pushing NFS through a compressed SSH tunnel? That might jump the speed a little (or not, depending on many factors).
I haven't tried, that might help a little, but I fear the latency is the real problem, people have good bandwidths.
Anyway, wouldn't I still have an authentication issue to use SSH? During the first login of the user into a new machine (he has no home dir there yet, so no private key stored), how would I open the ssh tunnel to the server automatically? Could I do that with a dummy user with no access to the server's file system?

Quote:
Originally Posted by MS3FGX View Post
Is there really no other way to handle this? Couldn't users just establish an NX connection whenever they are at a remote location, and leave the NFS /home directories for when they are local?
Sorry, I don't know what's NX... (this is the first time I try to set up a network environment, so more newbie questions may come...)
 
Old 10-04-2009, 04:59 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by caveden View Post
Could I do that with a dummy user with no access to the server's file system?
Yeah, the user you authenticate the tunnel with would just be to start up the connection, everything that you run through it (like NFS) would be authenticated through their own methods. You would use an account that has limited permissions and can simply forward the NFS ports on the server to the appropriate port on the client machine.

Quote:
Originally Posted by caveden View Post
Sorry, I don't know what's NX... (this is the first time I try to set up a network environment, so more newbie questions may come...)
Now that I think of it, this may not be what you are looking for. But NX allows you to setup a remote desktop connection over slow-speed links. So the remote user can log into the server and would be able to use it like he was sitting right in front of it. This means that your remote users would be using X sessions on your central server though, which is going to be a problem with many users (and not great from a security standpoint).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs for syncing dirs, but want to exclude a dir Nielsrohrig Linux - Networking 3 07-29-2009 06:58 AM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
auto mount to nfs home dir when user login to nis client lijianatusa Linux - Newbie 4 02-25-2009 11:38 PM
Script to wipe home dirs greslore Linux - General 1 04-08-2008 10:10 AM
connecting openbsd to linux nfs mount - "unsupported protocol" error animehair *BSD 4 03-28-2005 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration