linux-old/Documentation/knfsd.txt
<<
>>
Prefs
   1This is the Linux NFS utility package version 0.1.5. It is based on
   2knfsd 1.4.7.
   3
   4WARNING: The NFS servers in Linux 2.2 to 2.2.13 are not compatible with
   5other NFS client implemenations. If you plan to use Linux 2.2.x as an
   6NFS server for non-Linux NFS clients, you should get the Linux NFS
   7kernel from the Linux NFS CVS server:
   8
   91. Set the environment variable, CVS_RSH, to ssh.
  102. Login to the Linux NFS CVS server:
  11
  12# cvs -z 3 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs login
  13
  14without password if it is your first time.
  15
  163. Check out the current Linux 2.2 NFS kernel:
  17
  18a. From the NFS V2 branch:
  19
  20# cvs -z 3 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs co -r linux-2-2-nfsv2 linux-2.2
  21
  22b. From the main trunk:
  23
  24# cvs -z 3 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs co linux-2.2
  25
  264. If you don't want to use the current NFS kernel, you can find out
  27for which kernels the NFS patch is available:
  28
  29# cd linux-2.2
  30# cvs -z 9 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs status -v Makefile
  31
  32Then generate the kernel patch:
  33
  34# cvs -z 3 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs rdiff -ko -u -r linux-2-2-xx -r linux-2-2-xx-nfsv2-xxxxx linux-2.2
  35
  36If there is no NFS patch for the kernel you are interested in, you have
  37to make a patch closest to your kernel version and apply it by hand.
  38
  39There is a Linux NFS kernel source tree for Linux 2.3, linux-2.3, on
  40the Linux NFS CVS server. We will need all the help we can get. To
  41contribute to the Linux NFS project, please go to
  42
  43http://www.linuxnfs.sourceforge.org
  44
  45You register yourself. Please send an email to
  46nfs-admin@linuxnfs.sourceforge.org with
  47
  481. Your user id on www.linuxnfs.sourceforge.org.
  492. The area in NFS you'd like to work on.
  50
  51You will be notified when it is done.
  52
  53There is a Linux NFS mailing list at
  54
  55http://lists.sourceforge.net/mailman/listinfo/nfs/                                                               
  56You can subscribe it and search the mailing list archive via a web
  57browser.
  58
  59The nfs-utils package is available from the CVS server:
  60
  61# cvs -z 3 -d:pserver:anonymous@cvs.linuxnfs.sourceforge.org:/cvsroot/nfs co nfs-utils
  62
  63will get the latest version.
  64
  65The files are
  66
  67ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs-utils-0.1.5.tar.gz
  68ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs-utils-0.1.4-0.1.5.diff.gz
  69
  70To compile, just do
  71
  72# ./configure
  73# make
  74
  75# make install
  76
  77will install the nfs-utils binaries. You have to install the NFS
  78service scripts. There are 2 in etc/redhat provided for RedHat 6.x.
  79They are tested on RedHat 6.1.
  80
  81On RedHat 6.1, you can use
  82
  83# rpm -ta nfs-utils-0.1.5.tar.gz
  84
  85to build the source and binary RPMs.
  86
  87If your mount from util-linux is too old, you will need 2 patches:
  88
  89ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/util-linux-2.9o-mount-nfsv3.patch
  90ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/util-linux-2.9w-mount-nfsv3try.patch
  91
  92Thanks.
  93
  94
  95H.J.
  96hjl@lucon.org
  9712/19/99
  98
  99
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.