LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   automounting with autofs not working.. (http://www.linuxquestions.org/questions/linux-networking-3/automounting-with-autofs-not-working-384612/)

logicalfuzz 11-19-2005 08:20 AM

automounting with autofs not working..
 
server: sun.universe.com
client: earth.universe.com

i share /nfsdata in sun thru NFS. Then i mount it on earth with
Code:

mount -t nfs sun.universe.com:/nfsdata /mnt/nfs_share
This works and i can see contents of sun.universe.com:/nfsdata on /mnt/nfs_share

Now i unmount the /mnt/nfs_share and try to configure automounting it.
The auto.master entry (on earth) i added is
Code:

/mnt/nfs_share                                /etc/auto.misc
and the auto.misc entry (on earth) is
Code:

nfs          -fstype=nfs,ro,rsize=8192,wsize=8192,intr                  sun.universe.com:/nfsdata
Then i do,
service autofs restart
service autofs reload (i wasn't sure which of the both to run, so i tried both..)

nfs partition is not mounted yet.
what is the correct way to do it?

tuxdev 11-20-2005 05:11 PM

It mounts it when you try to access the nonexistent /mnt/nfs_share/nfs

jtshaw 11-21-2005 05:41 AM

Moved at users request to Linux - Networking.


All times are GMT -5. The time now is 12:07 AM.