Results 1 to 8 of 8
Here's the situation for a client. They have a NAS and some Red Hat boxes. What they want is for a users home directory to be stored on the NAS ...
- 03-12-2009 #1Just Joined!
- Join Date
- Mar 2009
- Location
- Tokyo, Japan
- Posts
- 4
Creating network login directories from a NAS
Here's the situation for a client. They have a NAS and some Red Hat boxes. What they want is for a users home directory to be stored on the NAS and mounted on any given machine when they log on it.
What i have tried is setting up an NFS server to act as a middle man. I mount the NAS shares on the NFS server and then try exporting them to the Red Hat boxes. Another thing i tried was pam_mount. Each to no avail.
Am i overlooking a simple solution to this? From what i understand NFS can only export resources that are physically on the machine. Of course these are not on the NFS server, but on the NAS.
Any help here would be greatly appreciated.Last edited by fskylemcauliffe; 03-12-2009 at 04:46 AM. Reason: more discriptive title
- 03-12-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,679
Create shares on the NAS. That is the purpose of a NAS. I have seen some *really* cheap NAS's that don't support NFS and only allow CIFS shares (even though the NAS OS is *Linux*...*cough* Buffalo *cough*...
If that is the case (the NAS only support CIFS shares), use the Samba client package to mount them on the RH machines.
- 03-12-2009 #3Just Joined!
- Join Date
- Mar 2009
- Location
- Tokyo, Japan
- Posts
- 4
the NAS does support NFS. So i make an NFS share. how do i make sure that it is mounted as /home/user when they log on from any box?
Last edited by fskylemcauliffe; 03-12-2009 at 05:54 AM. Reason: misread previous reply
- 03-12-2009 #4Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,679
Any number of ways...two that come to mind...
Write a logon script that mounts the NFS share.
Or use the NFS automounter.
Google will return many hits - like this Novell AppNote that talks about a login script for a SLED desktop.
- 03-12-2009 #5Just Joined!
- Join Date
- Mar 2009
- Location
- Tokyo, Japan
- Posts
- 4
I was under the impression that exporting NFS shares could only be done for shares that were local on the NFS server.
If i mount a share on the NFS server and then export it to the clients home directory i run into errors.
- 03-12-2009 #6Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,679
- 03-12-2009 #7Just Joined!
- Join Date
- Mar 2009
- Location
- Tokyo, Japan
- Posts
- 4
- 03-12-2009 #8Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,679
You are confused. If I modify the /etc/exports file on my SuSE desktop machine and start the nfsserver service, it is now an NFS server with shares available for other machines to connect to. The application defines the server-client role - nothing else does.
You can find more info on the client-server model.


Reply With Quote

