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?