Projects: NFS Version 4 Open Source Reference Implementation
Building an NFSv4-enabled kernel.
Recent 2.6 kernels have NFSv4 support. However, if you wish to report
bugs, we'd prefer you test our latest code. So, apply the CITI_NFS4_ALL
patch to the kernel
tar -xjvf linux-2.6.??-rc?.tar.bz2
cd linux-2.6.??-rc?
patch -p1 <../linux-2.6.??-rc?-CITI_NFS4_ALL-?.diff
Configure the kernel, making sure to select, at a minimum,
Code maturity options->Prompt for development and/or incomplete code/drivers
File systems->Network File Systems->NFS file system support
File systems->Network File Systems->Provide NFSv3 client support
File systems->Network File Systems->Provide NFSv4 client support
File systems->Network File Systems->NFS server support
File systems->Network File Systems->Provide NFSv3 server support
File systems->Network File Systems->Provide NFSv4 server support
File systems->Network File Systems->Provide NFS server over TCP support
Cryptographic options->Cryptographic API
Cryptographic options->MD5 digest algorithm
Cryptographic options->DES and Triple DES EDE cipher algorithms
Note that "Secure RPC: Kerberos V mechanism" will also be selected for you
in the "Network File Systems" menu if you select the above.
Assuming your server's filesystem is ext3 (recommended), you should also
select
File systems->Ext3 extended attributes
File systems->Ext3 POSIX Access Control Lists
(Whatever filesystem you use, the point is to that if you wish to use
NFSv4's extended attribute and ACL features, then the corresponding features
must first be exported by the filesystem you export.
Build and install the new kernel, update your bootloader as necessary,
and boot to the new kernel.