Checking Network Connectivity for a Mount Target With RPCINFO

Use the RPCINFO utility to check that your mount target is connected to the network on all required ports.

The rpcinfo utility is a program that retrieves a list of all the remote procedure call (RPC) services currently running, their names and descriptions, and the ports they are using. You can use the rpcinfo utility to verify that a mount target is connected to the network on all required ports.

Mount targets require connectivity to the following ports and protocols:
  • TCP connectivity to ports 111, 2048, 2049, and 2050
  • UDP connectivity to ports 111 and 2048

Installing the RPCINFO Utility

The utility must be installed on an instance that has network access to the mount target IP address.

Windows Server 2012 R2 and later versions come with rpcinfo already installed.

For other operating systems, such as Linux, CentOS, or Ubuntu, open a terminal and run the rpcinfo command to verify that the utility is installed. If the command isn't recognized, use the following commands to install the utility.
To install RPCINFO on Linux or CentOS
To install rpcinfo on an Oracle Linux or CentOS instance:
  1. Open a terminal window on the instance.
  2. Type the following command:
    yum install rpcbind
To install RPCINFO on Ubuntu
To install rpcinfo on an Ubuntu instance:
  1. Open a terminal window on the instance.
  2. Type the following command:
    apt-get install rpcbind

Using the RPCINFO Utility

  1. Identify the IP address of the mount target. You can obtain it from the details page of the mount target. See Getting a Mount Target's Details.
  2. Open a terminal on the instance, and type the following command to retrieve information about the mount target. Replace mount_target_IP_address with the mount target IP address:
    $ rpcinfo -p <mount_target_IP_address>
    For example, if your mount target IP address is 10.0.0.7, your command and its output would look like this:
    $ rpcinfo -p 10.0.0.7
       program vers proto   port  service
        100021    4   tcp   2050  nlockmgr
        100000    2   udp   111  portmapper
        100000    3   udp    111  portmapper
        100000    4   udp    111  portmapper
        100000    2   tcp    111  portmapper
        100000    3   tcp    111  portmapper
        100000    4   tcp    111  portmapper
        100003    3   tcp   2049  nfs
        100005    1   udp   2048  mountd
        100005    1   tcp   2048  mountd
        100005    2   udp   2048  mountd
        100005    2   tcp   2048  mountd
        100005    3   udp   2048  mountd
        100005    3   tcp   2048  mountd
  3. For each program listed, use the following commands to make an RPC call to report whether a response was received:
    • Make an RPC call using UDP (-u)
      $ rpcinfo -u <mount_target_IP_address> <program_number>
    • Make an RPC call using TCP (-t)
      $ rpcinfo -t <mount_target_IP_address> <program_number>
    If the RPC call is successful, the output should look like this example:
    $ rpcinfo -u 10.0.0.7 100005
    program 100005 version 1 ready and waiting
    program 100005 version 2 ready and waiting
    program 100005 version 3 ready and waiting

For more information on the rpcinfo utility, see rpcinfo(8)-Linux Man Page and Windows RPCINFO Documentation.