LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS automount using fstab (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-automount-using-fstab-660626/)

priyarao 08-05-2008 10:07 AM

NFS automount using fstab
 
hello all
I am a newbie to linux. i am trying to mount a directory on another server. I have made the following fstab entry:

10.3.11.50:/opt/testmount /testmount nfs rw,auto 0 0

which is not working. I get this error, at the console,when I reboot:
NFS mount failed, the server 10.3.11.50 is down ..

I am not able to understand this messg,.. the m/c at 10.3.11.50 is upa nd running

when I do a manual mount after the system has booted, it is working fine.
how do I get a automount to work?
the showmount on 10.3... is showing the exports correctly.
and there is no entry in the hosts.allow or hosts.deny, which means by default the access is granted..

please help!

thanks
priya

Chromezero 08-05-2008 10:13 AM

You might want to take a look at the man page for nfs. Also, try the options bg,intr,hard. It would look like this...
Code:

10.3.11.50:/opt/testmount /testmount nfs bg,intr,hard,rw,auto 0 0
The problem is possibly because it's trying to mount the NFS before the network is up and running.


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