Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2022 00:12:35 GMT
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 775904f5b4ec - stable/12 - mount_nfs.8: Update BUGS section for NFSv4.1/4.2
Message-ID:  <202207180012.26I0CZFh059148@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by rmacklem:

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

commit 775904f5b4ec82af9f8b536eaebe6876d2e1f412
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2022-07-03 20:37:23 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-07-18 00:08:54 +0000

    mount_nfs.8: Update BUGS section for NFSv4.1/4.2
    
    If the "intr" and/or "soft" mount options are used for
    NFSv4 mounts, the protocol can be broken when the
    operation returns without waiting for the RPC reply.
    The likelyhood of failure increases for NFSv4.1/4.2
    mounts, since the session slot will be broken when
    an RPC reply is not processed.
    
    This is mentioned in the BUGS section of "man mount_nfs",
    but there was no specific mention of the session slot
    problem.  This patch adds a sentence for this case.
    
    PR: 260011
    
    (cherry picked from commit aba7a81ab71ebef1bb20404634bc3c58ba615310)
---
 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 3d881a24e84a..76aea70af19a 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 January 11, 2022
+.Dd July 2, 2022
 .Dt MOUNT_NFS 8
 .Os
 .Sh NAME
@@ -578,5 +578,8 @@ enforced by the server, the options
 and
 .Cm soft
 cannot be safely used.
+For NFSv4 minor version 1 or 2 mounts, these options may
+also result
+in hung mount points, due to corruption of session slots.
 .Cm hard
 nfsv4 mounts are strongly recommended.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207180012.26I0CZFh059148>