NFS problems

Posted on 2005-04-18
Last Modified: 2013-12-27
i get the following error when i try to mount my share:

root@23# mkdir /export/home/test_nfs
root@23# mount 19:/export/home/test_nfs /export/home/test_nfs
nfs mount:19: : RPC: Rpcbind failure - RPC: Unable to receive
nfs mount: retrying: /export/home/test_nfs
nfs mount:19: : RPC: Rpcbind failure - RPC: Unable to receive

root@23# ps -ef | grep nfs
 daemon   502     1  0   Mar 09 ?        0:00 /usr/lib/nfs/statd
root   501     1  0   Mar 09 ?        0:00 /usr/lib/nfs/lockd
 root  1659  1629  0 09:57:25 pts/1    0:00 grep nfs

NFS Server config:
root@19# ./nfs.server start
root@c19# share
-               /export/home/test_nfs   ro   ""  
root@19# ps -ef | grep nfs
    root  2288  2174  0 09:56:59 pts/1    0:00 grep nfs
    root  2284     1  0 09:56:14 ?        0:00 /usr/lib/nfs/nfsd
root@19# share
-               /export/home/test_nfs   ro   ""  
root@19# more /etc/dfs/dfstab

#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#       Issue the command '/etc/init.d/nfs.server start' to run the NFS
#       daemon processes and the share commands, after adding the very
#       first entry to this file.
#       share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
share -F nfs -o ro /export/home/test_nfs

Question by:Traverse-61
    LVL 10

    Expert Comment

    Is your server really only called 19 ?

    I could imagine mount is trying to access a machine at

    try mounting with the ip-address to see if it's about that

    mount /export/home/test_nfs

    Author Comment

    No the actuall hostname is much longer.  I figured out the problem.  NFS needs RPC.

    Kill all NFS services.  Start RPC.  Re-enable NFS. Works just fine.


    LVL 10

    Accepted Solution

    just verified and mount 19:/export/home/test_nfs /export/home/test_nfs is contacting even if there is an entry for 19 in /etc/hosts

    so eigther mount it over the ip, or add an alias let's say h19 to /etc/hosts and mount h19:/expo......


    Author Comment

    Thanks neteducation, for trying to help out, but I found the solution,  See my comments above regarding NFS and RPC.  You get the points for responding.
    LVL 10

    Expert Comment

    I was thinking about the RPC thing too, but the error message was more like the ip-problem.

    Funny thing aside: I'm teaching a course this week... and this afternoon I was telling my students about how RPC works, and tomorrow I'll tell them how NFS works. So good timing for your question :-)

    Thanks for the point anyway. maybe this "solution" will help somebody else :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now