Search This Blog

Linux: how to check the remote NFS server version

  • The following command can be used to check the version of the remote NFS server:
    rpcinfo -s remote-server.yourdomain.org | grep nfs
    it will return the result like below:
    100003  2,3       udp,tcp                          nfs         unknown
    the second column, 2,3, are the versions of the nfs servers running on the remote host.
  • or if your rpcinfo implementation does not support -s option, you can
    rpcinfo -p remote-server.yourdomain.org | grep nfs
    it will return the result like below:
    100003    3   tcp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   udp   2049  nfs
    the second column shows the version of the nfs server.
  • To check the nfs server running on localhost, you can
    rpcinfo -s localhost
    or
    rpcinfo -p localhost
    or
    sudo nfsstat

See also

No comments:

Post a Comment