IBM Support

How to find NFS server IP address on an NFS client?

How To


Summary

If an NFS server has multiple IPs, you may need to know which IP the client is currently mounting from to perform tracing and debugging.

If you are mounting by IP address, you can already see this in a 'mount' or 'df' output.

If you are mounting by hostname, the mount and df output will only show the hostname and not the IP.

Steps

To determine the NFS server IP address, first use 'nslookup' to get a list of all possible IPs:
# nslookup mynfsserver

Next, run 'netstat -an | grep 2049' to display a list of NFS connections.

Look for the connection that matches one of the NFS server IP from nfslookup.

This is the NFS server IP that the client is using and will be the IP you need to use for tracing if necessary.

Document Location

Worldwide


[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cxx1AAA","label":"NFS"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

More support for:
AIX

Component:
NFS

Software version:
All Version(s)

Document number:
6370103

Modified date:
15 September 2021

UID

ibm16370103

Manage My Notification Subscriptions