Solved

NFS share/mount trouble on SuSE enterprise 10.

Posted on 2011-09-24
9
529 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
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 
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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 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