git: a1254dcaa869 - main - nfsd.8: Update for nfsd running in jails
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Mar 2023 21:59:58 UTC
The branch main has been updated by rmacklem:
URL: https://cgit.FreeBSD.org/src/commit/?id=a1254dcaa869bba20e46d966c53c7473bb24d02b
commit a1254dcaa869bba20e46d966c53c7473bb24d02b
Author: Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2023-03-29 21:58:47 +0000
Commit: Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2023-03-29 21:58:47 +0000
nfsd.8: Update for nfsd running in jails
Nfsd can now be run in an appropriately
configured vnet jail.
This man page update adds some information
for this case.
This is a content change.
Reviewed by: karels, markj
MFC after: 3 months
Differential Revision: https://reviews.freebsd.org/D39219
---
usr.sbin/nfsd/nfsd.8 | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8
index c8a5fea4e6a2..40e75f0a232d 100644
--- a/usr.sbin/nfsd/nfsd.8
+++ b/usr.sbin/nfsd/nfsd.8
@@ -28,7 +28,7 @@
.\" @(#)nfsd.8 8.4 (Berkeley) 3/29/95
.\" $FreeBSD$
.\"
-.Dd December 20, 2019
+.Dd March 22, 2023
.Dt NFSD 8
.Os
.Sh NAME
@@ -56,6 +56,22 @@ must be running for a machine to operate as a server.
Unless otherwise specified, eight servers per CPU for UDP transport are
started.
.Pp
+When
+.Nm
+is run in an appropriately configured vnet jail, the server is restricted
+to TCP transport and no pNFS service.
+Therefore, the
+.Fl t
+option must be specified and none of the
+.Fl u ,
+.Fl p
+and
+.Fl m
+options can be specified when run in a vnet jail.
+See
+.Xr jail 8
+for more information.
+.Pp
The following options are available:
.Bl -tag -width Ds
.It Fl r
@@ -307,6 +323,7 @@ just do a
.Xr stablerestart 5 ,
.Xr gssd 8 ,
.Xr ipfw 8 ,
+.Xr jail 8 ,
.Xr mountd 8 ,
.Xr nfsiod 8 ,
.Xr nfsrevoke 8 ,