X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=README;h=e55b2ddcb11ae2146f597faf937e2d40fab709a9;hp=e2196dab8627cffced6048e9804db00e95d52f5e;hb=42a065968d0f690b5ffd5a7db6afe224206f7b0f;hpb=cfb9b2e41177340926a0d5a45a149ccff7b324bc diff --git a/README b/README index e2196da..e55b2dd 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is version 1.1.0 of nfs-utils, the Linux NFS utility package. +This is version 1.2.6 of nfs-utils, the Linux NFS utility package. 0. PROJECT RESOURCES @@ -15,6 +15,8 @@ libraries. They are available from http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/ Otherwise use --disable-nfsv4 +To use the nfsdcld tracking daemon, nfsv4 support must be enabled, +and the libsqlite3 development libraries must be installed. 1. COMPILING @@ -80,7 +82,7 @@ scripts can be written to work correctly. and starting the nfsd server is not important. idmapd is only needed for NFSv4 support. svcgssd is only needed if exportfs NFS filesystem with crypto- - security (Kerberos or SPKM3). + security (Kerberos). C/ exportfs -av ; rpc.mountd It is important that exportfs be run before mountd so that @@ -106,12 +108,31 @@ scripts can be written to work correctly. the lock. rpc.statd is only needed for NFSv2 and NFSv3 support. - E/ rpc.nfsd + E/ nfsdcld + This daemon is only needed on kernels that support the nfsdcld + upcall, and only if the legacy client ID tracking isn't used. It + is also not needed if the server does not support NFSv4. + + To determine whether you need this or not, do the following: + + # cat /proc/fs/nfsd/versions + + That should yield a list of NFS versions that this kernel supports, + if "4" or later is not in that list, or they are prefixed with a "-" + then you don't need to run this daemon. Next: + + # cat /proc/fs/nfsd/nfsv4recoverydir + + If that file is not present, or the directory that the above command + outputs is not present, then this daemon is required in order to + support lock recovery by the clients when the server reboots. + + F/ rpc.nfsd Starting nfsd will automatically start lockd. The nfs server will now be fully active and respond to any requests from clients. - F/ sm-notify + G/ sm-notify This will notify any client which might have locks from before a reboot to try to reclaim their locks. This should start immediately after rpc.nfsd is started so that clients have a @@ -130,7 +151,7 @@ scripts can be written to work correctly. B/ gssd ; idmapd idmapd should be started before mounting any NFSv4 filesystems. gssd should be started before mounting any NFS filesystems - securely (with Kerberos of SPKM3). + securely (with Kerberos). C/ statd should be run before any NFSv2 or NFSv3 filesystem is mounted with remote locking (i.e. without -o nolock). @@ -162,4 +183,4 @@ scripts can be written to work correctly. Share And Enjoy! -- the nfs-utils developers - +