How to determine the version of NFS
How do you determine the version of NFS being run on a UNIX or Linux host?
You may be asked what versions of NFS are in use when working on support issues.
The following command may be run to determine the version of NFS in use:
The NFS service will be listed in the fourth column titled service.
The NFS version will be listed in the second column titled vers.
%> rpcinfo -p | grep nfs
program vers proto port service
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
The above output is showing that version 3 of NFS is running on this UNIX host, and that it supports version 2 clients, for tcp and udp.
Note: You can also, run nfsstat -m to display statistics for each NFS mounted file.
Refer to your vendor documentation for further information about this utility.
More support for:
Rational Customer Support
Software version: All Versions
Operating system(s): AIX, HP-UX, Linux, Solaris
Reference #: 1257204
Modified date: 2013-08-15