git: 7e53f16baa3a - main - mount_nfs.8: Note a case where the "nconnect" option does not work

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sun, 18 Jun 2023 20:03:42 UTC
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=7e53f16baa3a02118f40c50587efde0338b5053e

commit 7e53f16baa3a02118f40c50587efde0338b5053e
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2023-06-18 20:02:20 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2023-06-18 20:02:20 +0000

    mount_nfs.8: Note a case where the "nconnect" option does not work
    
    The "nconnect" NFS mount option will not work
    correctly for servers where the TCP connections
    might connect to different NFS clusters that do not
    share NFSv4.1/4.2 state information, such as file locks.
    
    This patch adds a sentence to the "nconnect" section
    of mount_nfs.8 noting this case.
    
    This is a content change.
    
    Reviewed by:    karels, pauamma_gundo.com (manpages)
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D40547
---
 sbin/mount_nfs/mount_nfs.8 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sbin/mount_nfs/mount_nfs.8 b/sbin/mount_nfs/mount_nfs.8
index 4f4b8891f67a..319e3bc2638d 100644
--- a/sbin/mount_nfs/mount_nfs.8
+++ b/sbin/mount_nfs/mount_nfs.8
@@ -28,7 +28,7 @@
 .\"	@(#)mount_nfs.8	8.3 (Berkeley) 3/29/95
 .\" $FreeBSD$
 .\"
-.Dd April 3, 2023
+.Dd June 14, 2023
 .Dt MOUNT_NFS 8
 .Os
 .Sh NAME
@@ -231,6 +231,9 @@ This option will result in more IP port#s being used.
 This option requires the
 .Cm nfsv4
 option.
+Note that for NFS servers such as AmazonEFS, where each new TCP
+connection can connect to a different cluster that maintains lock
+state separately, this option cannot be used.
 .It Cm nfsv2
 Use the NFS Version 2 protocol (the default is to try version 3 first
 then version 2).