xref: /linux/fs/nfs/Kconfig (revision 54a33b190aa5386dd214b4ad02986445e20e83d1)
197afe47aSAlexey Dobriyanconfig NFS_FS
297afe47aSAlexey Dobriyan	tristate "NFS client support"
3dd4dc82dSRandy Dunlap	depends on INET && FILE_LOCKING
497afe47aSAlexey Dobriyan	select LOCKD
597afe47aSAlexey Dobriyan	select SUNRPC
697afe47aSAlexey Dobriyan	select NFS_ACL_SUPPORT if NFS_V3_ACL
797afe47aSAlexey Dobriyan	help
897afe47aSAlexey Dobriyan	  Choose Y here if you want to access files residing on other
997afe47aSAlexey Dobriyan	  computers using Sun's Network File System protocol.  To compile
1097afe47aSAlexey Dobriyan	  this file system support as a module, choose M here: the module
1197afe47aSAlexey Dobriyan	  will be called nfs.
1297afe47aSAlexey Dobriyan
1397afe47aSAlexey Dobriyan	  To mount file systems exported by NFS servers, you also need to
1497afe47aSAlexey Dobriyan	  install the user space mount.nfs command which can be found in
1597afe47aSAlexey Dobriyan	  the Linux nfs-utils package, available from http://linux-nfs.org/.
1697afe47aSAlexey Dobriyan	  Information about using the mount command is available in the
1797afe47aSAlexey Dobriyan	  mount(8) man page.  More detail about the Linux NFS client
1897afe47aSAlexey Dobriyan	  implementation is available via the nfs(5) man page.
1997afe47aSAlexey Dobriyan
2097afe47aSAlexey Dobriyan	  Below you can choose which versions of the NFS protocol are
2197afe47aSAlexey Dobriyan	  available in the kernel to mount NFS servers.  Support for NFS
2297afe47aSAlexey Dobriyan	  version 2 (RFC 1094) is always available when NFS_FS is selected.
2397afe47aSAlexey Dobriyan
2497afe47aSAlexey Dobriyan	  To configure a system which mounts its root file system via NFS
2597afe47aSAlexey Dobriyan	  at boot time, say Y here, select "Kernel level IP
2697afe47aSAlexey Dobriyan	  autoconfiguration" in the NETWORK menu, and select "Root file
2797afe47aSAlexey Dobriyan	  system on NFS" below.  You cannot compile this file system as a
2897afe47aSAlexey Dobriyan	  module in this case.
2997afe47aSAlexey Dobriyan
3097afe47aSAlexey Dobriyan	  If unsure, say N.
3197afe47aSAlexey Dobriyan
3297afe47aSAlexey Dobriyanconfig NFS_V3
3397afe47aSAlexey Dobriyan	bool "NFS client support for NFS version 3"
3497afe47aSAlexey Dobriyan	depends on NFS_FS
3597afe47aSAlexey Dobriyan	help
3697afe47aSAlexey Dobriyan	  This option enables support for version 3 of the NFS protocol
3797afe47aSAlexey Dobriyan	  (RFC 1813) in the kernel's NFS client.
3897afe47aSAlexey Dobriyan
3997afe47aSAlexey Dobriyan	  If unsure, say Y.
4097afe47aSAlexey Dobriyan
4197afe47aSAlexey Dobriyanconfig NFS_V3_ACL
4297afe47aSAlexey Dobriyan	bool "NFS client support for the NFSv3 ACL protocol extension"
4397afe47aSAlexey Dobriyan	depends on NFS_V3
4497afe47aSAlexey Dobriyan	help
4597afe47aSAlexey Dobriyan	  Some NFS servers support an auxiliary NFSv3 ACL protocol that
4697afe47aSAlexey Dobriyan	  Sun added to Solaris but never became an official part of the
4797afe47aSAlexey Dobriyan	  NFS version 3 protocol.  This protocol extension allows
4897afe47aSAlexey Dobriyan	  applications on NFS clients to manipulate POSIX Access Control
4997afe47aSAlexey Dobriyan	  Lists on files residing on NFS servers.  NFS servers enforce
5097afe47aSAlexey Dobriyan	  ACLs on local files whether this protocol is available or not.
5197afe47aSAlexey Dobriyan
5297afe47aSAlexey Dobriyan	  Choose Y here if your NFS server supports the Solaris NFSv3 ACL
5397afe47aSAlexey Dobriyan	  protocol extension and you want your NFS client to allow
5497afe47aSAlexey Dobriyan	  applications to access and modify ACLs on files on the server.
5597afe47aSAlexey Dobriyan
5697afe47aSAlexey Dobriyan	  Most NFS servers don't support the Solaris NFSv3 ACL protocol
5797afe47aSAlexey Dobriyan	  extension.  You can choose N here or specify the "noacl" mount
5897afe47aSAlexey Dobriyan	  option to prevent your NFS client from trying to use the NFSv3
5997afe47aSAlexey Dobriyan	  ACL protocol.
6097afe47aSAlexey Dobriyan
6197afe47aSAlexey Dobriyan	  If unsure, say N.
6297afe47aSAlexey Dobriyan
6397afe47aSAlexey Dobriyanconfig NFS_V4
64b3edc2bcSTrond Myklebust	bool "NFS client support for NFS version 4"
65b3edc2bcSTrond Myklebust	depends on NFS_FS
66827e3457STrond Myklebust	select SUNRPC_GSS
6797afe47aSAlexey Dobriyan	help
6897afe47aSAlexey Dobriyan	  This option enables support for version 4 of the NFS protocol
6997afe47aSAlexey Dobriyan	  (RFC 3530) in the kernel's NFS client.
7097afe47aSAlexey Dobriyan
7197afe47aSAlexey Dobriyan	  To mount NFS servers using NFSv4, you also need to install user
7297afe47aSAlexey Dobriyan	  space programs which can be found in the Linux nfs-utils package,
7397afe47aSAlexey Dobriyan	  available from http://linux-nfs.org/.
7497afe47aSAlexey Dobriyan
75b3edc2bcSTrond Myklebust	  If unsure, say Y.
7697afe47aSAlexey Dobriyan
771efae381SRicardo Labiagaconfig NFS_V4_1
783dce9a5cSTrond Myklebust	bool "NFS client support for NFSv4.1 (EXPERIMENTAL)"
7902c35fcaSFred Isaman	depends on NFS_FS && NFS_V4 && EXPERIMENTAL
809e00abc3STrond Myklebust	select SUNRPC_BACKCHANNEL
8102c35fcaSFred Isaman	select PNFS_FILE_LAYOUT
821efae381SRicardo Labiaga	help
831efae381SRicardo Labiaga	  This option enables support for minor version 1 of the NFSv4 protocol
84*54a33b19SPeng Tao	  (RFC 5661) in the kernel's NFS client.
851efae381SRicardo Labiaga
863dce9a5cSTrond Myklebust	  If unsure, say N.
871efae381SRicardo Labiaga
8802c35fcaSFred Isamanconfig PNFS_FILE_LAYOUT
8902c35fcaSFred Isaman	tristate
9002c35fcaSFred Isaman
91155e7524SFred Isamanconfig PNFS_BLOCK
92*54a33b19SPeng Tao	tristate "Provide support for the pNFS Block Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)"
93*54a33b19SPeng Tao	depends on NFS_FS && NFS_V4_1 && BLK_DEV_DM
94*54a33b19SPeng Tao	help
95*54a33b19SPeng Tao	  Say M here if you want your pNFS client to support the Block Layout Driver
96*54a33b19SPeng Tao	  (RFC 5663). Requires Multiple devices driver support (DM) and Device mapper
97*54a33b19SPeng Tao	  support (BLK_DEV_DM).
98*54a33b19SPeng Tao
99*54a33b19SPeng Tao	  If unsure, say N.
100155e7524SFred Isaman
101c93407d0SBenny Halevyconfig PNFS_OBJLAYOUT
102c93407d0SBenny Halevy	tristate "Provide support for the pNFS Objects Layout Driver for NFSv4.1 pNFS (EXPERIMENTAL)"
103c93407d0SBenny Halevy	depends on NFS_FS && NFS_V4_1 && SCSI_OSD_ULD
104c93407d0SBenny Halevy	help
105c93407d0SBenny Halevy	  Say M here if you want your pNFS client to support the Objects Layout Driver.
106c93407d0SBenny Halevy	  Requires the SCSI osd initiator library (SCSI_OSD_INITIATOR) and
107c93407d0SBenny Halevy	  upper level driver (SCSI_OSD_ULD).
108c93407d0SBenny Halevy
109c93407d0SBenny Halevy	  If unsure, say N.
110c93407d0SBenny Halevy
11197afe47aSAlexey Dobriyanconfig ROOT_NFS
11297afe47aSAlexey Dobriyan	bool "Root file system on NFS"
11397afe47aSAlexey Dobriyan	depends on NFS_FS=y && IP_PNP
11497afe47aSAlexey Dobriyan	help
11597afe47aSAlexey Dobriyan	  If you want your system to mount its root file system via NFS,
11697afe47aSAlexey Dobriyan	  choose Y here.  This is common practice for managing systems
11797afe47aSAlexey Dobriyan	  without local permanent storage.  For details, read
118dc7a0816SJ. Bruce Fields	  <file:Documentation/filesystems/nfs/nfsroot.txt>.
11997afe47aSAlexey Dobriyan
12097afe47aSAlexey Dobriyan	  Most people say N here.
1213b9ce977SDavid Howells
1223b9ce977SDavid Howellsconfig NFS_FSCACHE
1234912002fSChristian Kujau	bool "Provide NFS client caching support"
1243b9ce977SDavid Howells	depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
1253b9ce977SDavid Howells	help
1263b9ce977SDavid Howells	  Say Y here if you want NFS data to be cached locally on disc through
1273b9ce977SDavid Howells	  the general filesystem cache manager
128c2e8139cSBryan Schumaker
129c2e8139cSBryan Schumakerconfig NFS_USE_LEGACY_DNS
130c2e8139cSBryan Schumaker	bool "Use the legacy NFS DNS resolver"
131c2e8139cSBryan Schumaker	depends on NFS_V4
132c2e8139cSBryan Schumaker	help
133c2e8139cSBryan Schumaker	  The kernel now provides a method for translating a host name into an
134c2e8139cSBryan Schumaker	  IP address.  Select Y here if you would rather use your own DNS
135c2e8139cSBryan Schumaker	  resolver script.
136c2e8139cSBryan Schumaker
137c2e8139cSBryan Schumaker	  If unsure, say N
138c2e8139cSBryan Schumaker
139c2e8139cSBryan Schumakerconfig NFS_USE_KERNEL_DNS
140c2e8139cSBryan Schumaker	bool
141c2e8139cSBryan Schumaker	depends on NFS_V4 && !NFS_USE_LEGACY_DNS
142c2e8139cSBryan Schumaker	select DNS_RESOLVER
1433f432312SSteve French	select KEYS
144c2e8139cSBryan Schumaker	default y
145955a857eSBryan Schumaker
146955a857eSBryan Schumakerconfig NFS_USE_NEW_IDMAPPER
147955a857eSBryan Schumaker	bool "Use the new idmapper upcall routine"
148955a857eSBryan Schumaker	depends on NFS_V4 && KEYS
149955a857eSBryan Schumaker	help
150955a857eSBryan Schumaker	  Say Y here if you want NFS to use the new idmapper upcall functions.
151955a857eSBryan Schumaker	  You will need /sbin/request-key (usually provided by the keyutils
152955a857eSBryan Schumaker	  package).  For details, read
153955a857eSBryan Schumaker	  <file:Documentation/filesystems/nfs/idmapper.txt>.
154955a857eSBryan Schumaker
155955a857eSBryan Schumaker	  If you are unsure, say N.
156