Can not connect to NFS
Added by Romain DECKER about 1 year ago
Hello, I'm currently testing Nexenta : iSCSI is fine, but I'm having some problems to connect to NFS. :/
Client is CentOS 6.
Mount is not working, I have no response with this command : mount -t nfs myserver:/volumes/myshare/nfs-01 /home/nfs
And the command rpcinfo -p myserver gives me : rpcinfo: can't contact portmapper: RPC: Remote system error - Connection timed out
I've checked a lot of thing, but I didn't find what is wrong...
Thank you for your help !
Replies
RE: Can not connect to NFS - Added by Dan Swartzendruber about 1 year ago
Are you sure the service is running?
RE: Can not connect to NFS - Added by Romain DECKER about 1 year ago
Yes, I can see in the configuration "Service is currently enabled".
RE: Can not connect to NFS - Added by Dan Swartzendruber about 1 year ago
If you get a shell on the nexenta, what do you see from:
netstat -an|grep 111
RE: Can not connect to NFS - Added by Romain DECKER about 1 year ago
Here is a screenshot
Selection_082.jpeg (16.6 KB)
RE: Can not connect to NFS - Added by Dan Swartzendruber about 1 year ago
Hmmm, any chance the centos box has iptables rules blocking this?
RE: Can not connect to NFS - Added by Romain DECKER about 1 year ago
IPtables and Selinux are deactived on the client.
RE: Can not connect to NFS - Added by Dan Swartzendruber about 1 year ago
That is truly strange. Can you mount the share from any other hosts? From the nexenta itself?
RE: Can not connect to NFS - Added by Romain DECKER about 1 year ago
I tried from other hosts, I have the same problem.
How should I do to try to mount the share from the nexenta itself ?
Is there any firewall in the nexenta ?
RE: Can not connect to NFS - Added by Dan Swartzendruber about 1 year ago
I am not aware of any firewall. From a shell on the nexenta, what do you get from:
rpcinfo -p XXX
where XXX is the real IP (not loopback)?
RE: Can not connect to NFS - Added by Romain DECKER about 1 year ago
Here is a screenshot of the result.
Selection_088.jpeg (89 KB)
RE: Can not connect to NFS - Added by Dan Swartzendruber about 1 year ago
Very odd indeed. Can you run a port scanner on the centos host, aimed at the nexenta?
RE: Can not connect to NFS - Added by Ron Halstead about 1 year ago
On the nexenta box, execute showmount -e
It will show the export list