Linux.com

nfs problem in 2.6.9-5.ELsmp

Link to this post 12 May 10

hi

this is regarding nfs mounting is failed while i reboot the linux server. As it works for manual mounting,
my exports file is / 192.168.1.0/24(rw) and my /etc/fstab is 192.168.1.100:/tmp /home/backup1 nfs intr.
kindly tell me where i exactly iam making the mistake. let me tell u I have disabled the firewall.


thanks
srini

Link to this post 16 May 10

Lets look at this.

/ 192.168.1.0/24(rw)

This seems sane, you are wanting to export the entire filesystem to any host in the 192.168.1.*/24 subnet.
However it seems a bit insecure by opening the entire filesystem to the world, Please make an entry for each directory that you wish to export and use the first usable address of the chosen domain to make it cleaner, such as:
/tmp 192.168.1.1/24(rw)


Now lets look at the fstab.

192.168.1.100:/tmp      /home/backup1      nfs     intr

Have to tried adding the syncronization, secure port options, inode access updates, the nfs server type and the readable/writable flags?
192.168.1.100:/tmp      /home/backup1      nfs     rw,intr,hard,nfsvers=3,noatime,secure,sync   0     0

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board