Discussion:
How to know which version of NFS protocol is used
Yasuhiro Kimura
2021-05-09 16:59:11 UTC
Permalink
Hello,

When remote file system is mounted with NFS, is there any way to know
which version of NFS protocol (2, 3, 4.0, 4.1, 4.2) is used?

Especially I want to know minor version when NFSv4 is used.

Best Regards.

---
Yasuhiro Kimura
‪‪Earl Ramirez‬‬
2021-05-09 17:09:23 UTC
Permalink
_______________________________________________
freebsd-***@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-***@freebsd.org"
Kevin P. Neal
2021-05-11 19:25:43 UTC
Permalink
Post by Yasuhiro Kimura
Hello,
When remote file system is mounted with NFS, is there any way to know
which version of NFS protocol (2, 3, 4.0, 4.1, 4.2) is used?
Especially I want to know minor version when NFSv4 is used.
Is it in the output of the 'mount' command when run with no options?
--
Kevin P. Neal http://www.pobox.com/~kpn/

"Nonbelievers found it difficult to defend their position in \
the presense of a working computer." -- a DEC Jensen paper
Steve O'Hara-Smith
2021-05-11 20:37:34 UTC
Permalink
On Tue, 11 May 2021 15:25:43 -0400
Post by Kevin P. Neal
Is it in the output of the 'mount' command when run with no options?
Not quite, what you get there is the mount options used. If it says
nfs then you won't know if it got nfsv3 or fell back to nfsv2.
--
Steve O'Hara-Smith <***@sohara.org>
Continue reading on narkive:
Loading...