Welcome to the new Linux Foundation Forum!

nfs problem in 2.6.9-5.ELsmp

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

Comments

  • mfillpotmfillpot Posts: 2,180
    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
    
Sign In or Register to comment.