LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NFS won't mount (https://www.linuxquestions.org/questions/linux-newbie-8/nfs-wont-mount-793036/)

rcmonroig 03-03-2010 09:38 PM

NFS won't mount
 
Trying to mount an exported drive from server 192.168.1.107. Checked the export share folder using exportfs. When I run exportfs I see /home/haley/vladurday in the export file.

[root@instructor /]# mkdir /haley
[root@instructor /]# mount 192.168.1.107:/home/haley/vladurday /haley
mount.nfs: mount system call failed

towhidtech 03-04-2010 04:07 AM

Check NFS service is started or not..

You should also check portmap

service nfs restart

chkconfig portmap on


I hope it will work

rcmonroig 03-08-2010 08:25 PM

NFS Work around
 
Here is the workaround but still a little fuzzy on the solution. Exports from the NFS server seemed to work, but clients were unable to mount and received various error messages pertaining to the NFS server. We used ifconfig to verify the IP addresses of the various NFS servers. The only server we were able to mount was the server who's IP was set manually. All the other servers were getting their IP address from a Windows 2003 DHCP/DNS server. Whe we began assign IP addresses manually to the NFS servers the clients were able to mount the share drives with no problem.

I would think that DHCP assigned IP address for a Linux system could be identified by running ifconfig and that this IP address should be shown with ifconfig. This was also verified in the Network Config window, but for some reason when another client system tried to connect and mount the exported share it could not connect to the NFS server. We pinged the address and ping worked, was it the same host we intended to ping - I do not know.

Anyhow there's our work around and it all seems to be working now, but this is not a solution if you wanted to use more than one NFS server in a local domain running DHCP.

Ron


All times are GMT -5. The time now is 12:19 PM.