Mount NFS not working
Hi,
I am trying to mount a directory from one server (XX.2.6) to another (XX.2.100) 1. Installed NFSD 2. Changed /etc/exports file - added : /opt/data/ 192.168.2.6/24(rw) 3. Added - ALL : 192.168.2.6/24 in hosts.allow 4. Executed exportfs -ra 5. Executed the mount command as - mount 192.168.2.6:/opt/data/ /opt/data/ It gives me the following error - mount: 192.168.2.6:/opt/data/ failed, reason given by server: Permission denied when I check the /var/log/messages file I get the following error - Mar 12 14:35:03 192.168.2.100 automount[2065]: create_udp_client:98: hostname lookup failed: Operation not permitted Mar 12 14:35:03 192.168.2.100 automount[2065]: create_tcp_client:328: hostname lookup failed: Operation not permitted Mar 12 14:35:03 192.168.2.100 automount[2065]: lookup_mount: exports lookup failed for sf Mar 12 14:35:03 192.168.2.100 automount[2065]: update_negative_cache: key "sf" not found in map. Kindly help, cant figure out what is exactly wrong!? Am i missing something? |
Hi,
Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. Continue in the other/original thread: Mount NFS not working Reported for closure. |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 07:09 PM. |