Solved

NFS share/mount trouble on SuSE enterprise 10.

Posted on 2011-09-24
9
525 Views
Last Modified: 2013-12-02
I'm having trouble creating and mounting an nfs share.  Both servers are sles 10.

The nfs server is 10.25.50.163.  It has the client in the /etc/exports file.  The nfs client is 10.25.73.52.  The listing in the exports file is "/josh     110.25.73.52(ro)"

Attempted to manually configure and also configure in the yast2 utility.  yast2 shows that it has opened a port in the firewall on the nfs server.  The client has the firewall disabled.

When attempting to mount the nfs share from the client, the following two commands have been tried-

mount 10.25.73.52:/josh /taco
mount -t nfs 10.25.73.52:/josh /taco

It hangs.  It doesn't give an error.

Please help experts.  Thanks
0
Comment
Question by:drj003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
9 Comments
 
LVL 2

Author Comment

by:drj003
ID: 36593226
EDIT: listing in the exports file is "/josh     10.25.73.52(ro)"

0
 
LVL 2

Author Comment

by:drj003
ID: 36593358
Here is the output of rpcinfo -p from the server

 # rpcinfo -p localhost
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100024    1   udp   1024  status
    100021    1   udp   1024  nlockmgr
    100021    3   udp   1024  nlockmgr
    100021    4   udp   1024  nlockmgr
    100024    1   tcp  21923  status
    100021    1   tcp  21923  nlockmgr
    100021    3   tcp  21923  nlockmgr
    100021    4   tcp  21923  nlockmgr
    100005    1   udp    767  mountd
    100005    1   tcp    768  mountd
    100005    2   udp    767  mountd
    100005    2   tcp    768  mountd
    100005    3   udp    767  mountd
    100005    3   tcp    768  mountd

Here is the output of rcpinfo -p on the server, but specifying the client-

# rpcinfo -p 10.25.73.52
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper


when trying the rpcinfo -p command on the client, it cannot contact portmapper on server-

 # rpcinfo -p 10.25.50.163
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection timed out
 #

portmapper is running on the server.


0
 
LVL 2

Author Comment

by:drj003
ID: 36593383
woops.  There was an entry in the /etc/host.deny on the server that denied everything.  I will add an entry to the etc/host.allow   I thought I had checked that.
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 2

Author Comment

by:drj003
ID: 36593419
That didn't work.  I still need help please.
0
 
LVL 2

Author Comment

by:drj003
ID: 36595333
Please let me know if you would like any additional information.
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 36596294
Make sure all necessary daemons are running on the both systems. It can happen that if there are no nfs entries in /etc/fstab then they don't get started automatically.
On the client: /sbin/rpc.portmap
On the server: /sbin/rpc.portmap /usr/sbin/rpc.rquotad /usr/sbin/rpc.mountd
(directory names may vary)
0
 
LVL 2

Author Comment

by:drj003
ID: 36597161
Thanks for your reply Duncan.

rpc.rquotad is not running on either the client or server.  I cannot even find it to start it.  The other services are running.  

Could rpc.rquotad be called something else on SuSE10?  Can't find it anywhere.
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 36598078
You may not need it. I killed it on the server and could still mount files. But then, I don't have quotas enabled - do you?
Does either machine have a firewall? Be sure ports 2049 (nfsd) and 4045 (lockd) are open.
On the server, there need to be lockd and nfsd processes running. With a modern kernel, they will be called just that. With an older kernel, they will run as rpc.nfsd and rpc.lockd
0
 
LVL 2

Author Comment

by:drj003
ID: 36601055
I looked at yast on the server, it had an allow acception for nfs.  However, when I turned the firewall completely off, it worked.  Thanks Duncan!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question