LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multiple NFS mount using autofs (https://www.linuxquestions.org/questions/linux-newbie-8/multiple-nfs-mount-using-autofs-4175458953/)

luxaterna 04-20-2013 10:40 PM

Multiple NFS mount using autofs
 
Hi Guys...

I got questions to ask.
Is it possible to have multiple nfs mount points using autofs on the client machine?
the exports is from the same nfs server. It meant for different users to log in the machine to have their respective home folder mounted. So how do i go about that?

lleb 04-21-2013 12:28 AM

just to clear things up, you are having multiple users on the same workstation and you want to setup different autofs for each user? is that correct?

That should not be to hard as the mount point can be owned by each user.

ex:

/home/user1/mount_point
/home/user2/mount_point
/home/user3/mount_point
etc...

then you can create the autofs for each point as each user will only have access to their mount point you should be good to go.

luxaterna 04-21-2013 12:56 AM

yes but different mount point too..
like
/home/usr1
/home2/usr2
/home3/usr3

do you think it possible?

lleb 04-21-2013 01:26 PM

yes that is exactly what i stated. my example is different mount points all of them. remember the fully qualified path in linux is exactly that. a different location within the system.

chrism01 04-21-2013 08:14 PM

If the intended path is the same on the server & client systems (for home dirs this is normal), the you can use this format
Code:

*    server:/export/home/&
http://linux.die.net/man/5/autofs


All times are GMT -5. The time now is 07:54 PM.