# SPDX-License-Identifier: GPL-2.0-only
config [31mCONFIG_NFSD[0m
tristate "NFS server support"
depends on [31mCONFIG_INET[0m
depends on [31mCONFIG_FILE_LOCKING[0m
depends on [31mCONFIG_FSNOTIFY[0m
select [31mCONFIG_LOCKD[0m
select [31mCONFIG_SUNRPC[0m
select [31mCONFIG_EXPORTFS[0m
select [31mCONFIG_NFS_ACL_SUPPORT[0m if [31mCONFIG_NFSD_V2_ACL[0m
depends on [31mCONFIG_MULTIUSER[0m
help
Choose Y here if you want to allow other computers to access
files residing on this system using Sun's Network File System
protocol. To compile the NFS server support as a module,
choose [31mCONFIG_M[0m here: the module will be called nfsd.
You may choose to use a user-space NFS server instead, in which
case you can choose N here.
To export local file systems using NFS, you also need to install
user space programs which can be found in the Linux nfs-utils
package, available from http://linux-nfs.org/. More detail about
the Linux NFS server implementation is available via the
exports(5) man page.
Below you can choose which versions of the NFS protocol are
available to clients mounting the NFS server on this system.
Support for NFS version 2 (RFC 1094) is always available when
CONFIG_NFSD is selected.
If unsure, say N.
config [31mCONFIG_NFSD_V2_ACL[0m
bool
depends on [31mCONFIG_NFSD[0m
config [31mCONFIG_NFSD_V3[0m
bool "NFS server support for NFS version 3"
depends on [31mCONFIG_NFSD[0m
help
This option enables support in your system's NFS server for
version 3 of the NFS protocol (RFC 1813).
If unsure, say Y.
config [31mCONFIG_NFSD_V3_ACL[0m
bool "NFS server support for the NFSv3 ACL protocol extension"
depends on [31mCONFIG_NFSD_V3[0m
select [31mCONFIG_NFSD_V2_ACL[0m
help
Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
never became an official part of the NFS version 3 protocol.
This protocol extension allows applications on NFS clients to
manipulate POSIX Access Control Lists on files residing on NFS
servers. NFS servers enforce POSIX ACLs on local files whether
this protocol is available or not.
This option enables support in your system's NFS server for the
NFSv3 ACL protocol extension allowing NFS clients to manipulate
POSIX ACLs on files exported by your system's NFS server. NFS
clients which support the Solaris NFSv3 ACL protocol can then
access and modify ACLs on your NFS server.
To store ACLs on your NFS server, you also need to enable ACL-
related CONFIG options for your local file systems of choice.
If unsure, say N.
config [31mCONFIG_NFSD_V4[0m
bool "NFS server support for NFS version 4"
depends on [31mCONFIG_NFSD[0m && [31mCONFIG_PROC_FS[0m
select [31mCONFIG_NFSD_V3[0m
select [31mCONFIG_FS_POSIX_ACL[0m
select [31mCONFIG_SUNRPC_GSS[0m
select [31mCONFIG_CRYPTO[0m
select [31mCONFIG_GRACE_PERIOD[0m
help
This option enables support in your system's NFS server for
version 4 of the NFS protocol (RFC 3530).
To export files using NFSv4, you need to install additional user
space programs which can be found in the Linux nfs-utils package,
available from http://linux-nfs.org/.
If unsure, say N.
config [31mCONFIG_NFSD_PNFS[0m
bool
config [31mCONFIG_NFSD_BLOCKLAYOUT[0m
bool "NFSv4.1 server support for pNFS block layouts"
depends on [31mCONFIG_NFSD_V4[0m && [31mCONFIG_BLOCK[0m
select [31mCONFIG_NFSD_PNFS[0m
select [31mCONFIG_EXPORTFS_BLOCK_OPS[0m
help
This option enables support for the exporting pNFS block layouts
in the kernel's NFS server. The pNFS block layout enables NFS
clients to directly perform I/O to block devices accesible to both
the server and the clients. See RFC 5663 for more details.
If unsure, say N.
config [31mCONFIG_NFSD_SCSILAYOUT[0m
bool "NFSv4.1 server support for pNFS SCSI layouts"
depends on [31mCONFIG_NFSD_V4[0m && [31mCONFIG_BLOCK[0m
select [31mCONFIG_NFSD_PNFS[0m
select [31mCONFIG_EXPORTFS_BLOCK_OPS[0m
select [31mCONFIG_BLK_SCSI_REQUEST[0m
help
This option enables support for the exporting pNFS [31mCONFIG_SCSI[0m layouts
in the kernel's NFS server. The pNFS [31mCONFIG_SCSI[0m layout enables NFS
clients to directly perform I/O to [31mCONFIG_SCSI[0m devices accesible to both
the server and the clients. See draft-ietf-nfsv4-scsi-layout for
more details.
If unsure, say N.
config [31mCONFIG_NFSD_FLEXFILELAYOUT[0m
bool "NFSv4.1 server support for pNFS Flex File layouts"
depends on [31mCONFIG_NFSD_V4[0m
select [31mCONFIG_NFSD_PNFS[0m
help
This option enables support for the exporting pNFS Flex File
layouts in the kernel's NFS server. The pNFS Flex File layout
enables NFS clients to directly perform I/O to NFSv3 devices
accesible to both the server and the clients. See
draft-ietf-nfsv4-flex-files for more details.
Warning, this server implements the bare minimum functionality
to be a flex file server - it is for testing the client,
not for use in production.
If unsure, say N.
config [31mCONFIG_NFSD_V4_SECURITY_LABEL[0m
bool "Provide Security Label support for NFSv4 server"
depends on [31mCONFIG_NFSD_V4[0m && [31mCONFIG_SECURITY[0m
help
Say Y here if you want enable fine-grained security label attribute
support for NFS version 4. Security labels allow security modules like
SELinux and Smack to label files to facilitate enforcement of their policies.
Without this an NFSv4 mount will have the same label on each file.
If you do not wish to enable fine-grained security labels SELinux or
Smack policies on NFSv4 files, say N.
config [31mCONFIG_NFSD_FAULT_INJECTION[0m
bool "NFS server manual fault injection"
depends on [31mCONFIG_NFSD_V4[0m && [31mCONFIG_DEBUG_KERNEL[0m && [31mCONFIG_DEBUG_FS[0m && [31mCONFIG_BROKEN[0m
help
This option enables support for manually injecting faults
into the NFS server. This is intended to be used for
testing error recovery on the NFS client.
If unsure, say N.