aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2022-07-03 20:37:23 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-07-18 00:08:54 +0000
commit775904f5b4ec82af9f8b536eaebe6876d2e1f412 (patch)
tree9abc1972cabdf8bbe4764f665e481c8db02d58ac
parenteaf38b5ff9d937e652b49a37adc712ade25b611f (diff)
downloadsrc-775904f5b4ec82af9f8b536eaebe6876d2e1f412.tar.gz
src-775904f5b4ec82af9f8b536eaebe6876d2e1f412.zip
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)
-rw-r--r--sbin/mount_nfs/mount_nfs.85
1 files changed, 4 insertions, 1 deletions
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.