Yes, I know that. You need to change that to the client's IP and your problem is solved. That field for any host's IP or hostname or a range of IPs of hosts which are allowed to mount the share. So change it to client's IP. for more info about exports file see "man exports".
Looks like your host-side (your server) exports a nfs share and allows the host-side (your server) to mount it.
Did you try to mount this share on the server? Probably you just need to run your command with root user or sudo?
Also check directory permissions!
---------- Post updated at 01:51 ---------- Previous update was at 01:48 ----------
The one line you posted (/etc/exports) may not be sufficient enough!
You may need to adjust the directory access permissions on server (/remote/proj1) as well as on the client side (/nfsmount).
I was trying to connect to a HP server through iLO but for some reason I was unable to connect. When I ping it I do get a reply but the connection is not being established..Please help me understand what the problem is.
---------- Post updated at 02:19 AM ---------- Previous update was at 01:53 AM ----------
HI,
Another issue is I was trying to configure NFS on the servers. I'm using 2 HP servers with RHEL. i updated the /etc/exports directory with /sharing ipaddress/netmask(rw,sync,root_squash).
mounted it on the client server but I'm getting the following error:
mount: mount to NFS server 'ipaddress' failed: System Error: No route to host.
mkdir /nfssharepoint
[root@localhost /]# mount -t nfs 192.168.20.194:/home/tom/share /nfssharepoint
mount.nfs: mount point /nfssharepoint is not a directory
[root@localhost /]#
Usually there's a server and there's a client, all right?
Do you want to mount a nfs share from server on the client mount point /nfsshare ?
Those two hosts have different IP addresses?
All the stuff you want to do most likely call for root rights!!
-----
Another weird reason given by the client
mkdir /nfssharepoint
[root@localhost /]# mount -t nfs 192.168.20.194:/home/tom/share /nfssharepoint
mount.nfs: mount point /nfssharepoint is not a directory
[root@localhost /]#
---
Classic!
Run
ls -l /nfssharepoint
Probably there exist a file or link with the same name!