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:04:33 +0000
commit9fe17b520a4a0dfd79d31a5d271705b214f474fc (patch)
treeb60ec90500740ef44a18c9ab0e6f92edb275974a
parentb9ba9906b869e43533184e5239d0b62419dcc0fc (diff)
downloadsrc-9fe17b520a4a0dfd79d31a5d271705b214f474fc.tar.gz
src-9fe17b520a4a0dfd79d31a5d271705b214f474fc.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 5725b6eccf65..88c9b11e9392 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
@@ -662,5 +662,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.