git: d2ee65f43d03 - stable/13 - mount_nfs.8: Note a case where the "nconnect" option does not work

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sun, 02 Jul 2023 01:26:08 UTC
The branch stable/13 has been updated by rmacklem:

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

commit d2ee65f43d03f144b1bd22fa41748523c981db8e
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2023-06-18 20:02:20 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2023-07-02 01:24:51 +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.
    
    (cherry picked from commit 7e53f16baa3a02118f40c50587efde0338b5053e)
---
 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).