I'm mounting a NFS filesystem on my machine. How do I figure out what version of the NFS protocol the server uses? I don't have access to the NFS server machine, but I do have root on my client machine.
Is there anything I can run on my client machine to identify what version of the NFS protocol is being used by the server, or what versions it supports?
I wasn't able to find any useful information in /var/log/messages
or kernel debugging output (dmesg
).
I have tried running nfsstat
, but I'm not sure if it is giving me any useful information. However, when I run nfsstat -s
to request information about the server, I don't see anything useful:
# nfsstat -s
Server rpc stats:
calls badcalls badfmt badauth badclnt
0 0 0 0 0
When I run nfsstat -c
to request information about the client, I do see some information about Client nfs v3
, but I'm not sure how to interpret this. Does this tell me anything about the protocol being used between my client machine and the NFS server? Does it mean I am currently using v3 of the NFS protocol? Does it tell me anything about what versions of the NFS protocol the server supports, e.g., NFS v4?