[K12OSN] Multiple NFS servers to 1 login server?

Petre Scheie petre at maltzen.net
Tue Feb 15 18:01:58 UTC 2005


You can't mount multiple file systems under one mount point, so no, you 
can't do what you want.  The usual way to handle this is to have an 
identifier in the path of each user's homedir, e.g., /home/group1/user1 
for user1.  In my company's case, we have users with home directories on 
different machines, and the machine name is part of the path to the 
user's home dir.  That way, the machine name can be a mount point under 
/home/.  But if your user paths aren't already setup that way, you'll 
have to change them, which could be a pain depending on the number of users.

Petre

Heath Henderson wrote:
> Are there any docs or Howto's out there explaining the best way to setup
> a system where we mount multiple NFS servers (home directories) to 1
> common server?
> 
> Here is the situation.  
> 
> We have been asked to provide access from home to our user's home
> directories.  Well, I have been playing with ssh and managed to get out
> portal server (the 1 common server in this case) to mount home
> directories from 1 NFS server.  It reads the LDAP server, gets the home
> dir path and as an NFS client automounts the homedir. 
> BUT.  I am using NFSv4 set to export /home.  My auto.home on the common
> server is set to read the NFS server with
> (      school1:/home/& * -fstype=nfs4,rw,proto=tcp,port=2049
> 172.16.1.10:/&  )
> 
> Can I add 
> school2:/home/& * -fstype=nfs4,rw,proto=tcp,port=2049 172.16.2.10:/&
> 
> and just continue on finishing out to school15:/home/&     ?
> 
> Or, do I need to make entires in the auto.home which map to the speicfic
> users home dir path including the server their home dir resides on?
> 
> Any help would be welcomed.
> 
> 
> Heath Henderson
> Assistant Technology Administrator
> McLean County Unit 5 Schools
> Normal, IL 61761   
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
> 
> iQA/AwUBPB5LcYGGX69LnzBZEQJVdwCeIfH/DOpwbOdiut29KG0AwEhzaDYAoM1q
> Q2CIQ2P2RQOnaUcu3m/jXITE
> =BWZp
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 




More information about the K12OSN mailing list