Go to main content

Managing Network File Systems in Oracle® Solaris 11.3

Exit Print View

Updated: September 2018
 
 

How to Verify the NFS Service on the Server

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Check that the server can reach the client.
    $ ping lilac
    lilac is alive
  3. If the client is not reachable from the server, ensure that the local name service is running on the client.
  4. If the name service is running, check the networking software configuration on the server. For example, check /etc/netmasks and the property information associated with the svc:/system/name-service/switch service.
  5. Check whether the rpcbind daemon is running on the server.
    $ /usr/bin/rpcinfo -u localhost rpcbind
    program 100000 Version 1 ready and waiting
    program 100000 Version 2 ready and waiting
    program 100000 Version 3 ready and waiting

    If the server is running, the rpcinfo command lists program and version numbers that are associated with the UDP protocol.

  6. Check whether the nfsd daemon is running on the server.
    $ rpcinfo -u localhost nfs
    program 100003 Version 2 ready and waiting
    program 100003 Version 3 ready and waiting
    $ ps -ef | grep nfsd
    root 101328      0   0   Jul 12 ?         303:25 nfsd_kproc
    root 101327      1   0   Jul 12 ?           2:54 /usr/lib/nfs/nfsd
    root 263149 131084   0 13:59:19 pts/17      0:00 grep nfsd

    Note -  NFS Version 4 does not support UDP.

    If the server is running, the rpcinfo command lists program and version numbers that are associated with the UDP protocol. Also, use the –t option with rpcinfo to check the TCP connection. If these commands fail, restart the NFS service. For more information, see How to Restart NFS Service.

  7. Check whether the mountd daemon is running on the server.
    $ /usr/bin/rpcinfo -t localhost mountd
    program 100005 Version 1 ready and waiting
    program 100005 Version 2 ready and waiting
    program 100005 Version 3 ready and waiting
    $ ps -ef | grep mountd
    root    145      1 0 Apr 07  ?     21:57 /usr/lib/autofs/automountd
    root    234      1 0 Apr 07  ?     0:04  /usr/lib/nfs/mountd
    root   3084 2462 1 09:30:20 pts/3  0:00  grep mountd

    If the server is running, the rpcinfo command lists program and version numbers that are associated with the UDP protocol. Also, use the –t option with rpcinfo to check the TCP connection. If these commands fail, restart the NFS service. For more information, see How to Restart NFS Service.