1 This is the Linux kernel NFS daemon 1.4.7. It is based on linux-nfs
2 0.4.22. It is tested on Linux/alpha and Linux/x86 running glibc 2.1.1.
4 WARNING: The NFS servers in Linux 2.2 to 2.2.11 are not compatible with
5 other NFS client implemenations. If you plan to use Linux 2.2.x as an
6 NFS server for non-Linux NFS clients, you should apply the patches
9 linux-2.2.7-sunrpc.patch, nfsd-2.2.7-2.lockd.patch, nfsd-2.2.7-3.patch
10 and nfsd-2.2.7-nfsfh.patch are required for Linux 2.2.7 to 2.2.11.
11 For other kernel versions, they have to be applied by hand if they are
14 For Linux 2.2.7 to 2.2.10, nfsd-2.2.7-1.lock.patch is also required.
16 I made my knfsd package available only because I use it and noone else
17 seems to maintain it. But I don't have much time to really work on it.
18 I will only fix bugs in the NFS utilities and serious kernel NFS bugs
19 which I can duplcate easily. If you have any kernel NFS server problem,
20 please report it to the Linux kernel mailing list. If it can be
21 reproduced with Linux NFS server and client in less than 5 minutes, you
22 can also send me a copy in addition to sending it to the Linux kernel
23 mailing list. I may take a look when I have time. However I will collect
24 kernel NFS related patches. Contributions are more than welcome.
26 The NFS lock only works with lockd. Please make sure the portmapper,
27 portmap, is started before mounting NFS.
29 Changes from knfsd 1.4.6:
31 1. Fix a typo in knfslock.init.
32 2. A new kernel patch, nfsd-2.2.7-1.lock.patch, to fix some NFS lock
35 Changes from knfsd 1.4.5:
37 1. Rename /var/lib/nfs/xtab.export to /var/lib/nfs/etab.
39 Changes from knfsd 1.4.4:
41 1. Try to fix mountd performance problem by introducing
42 /var/lib/nfs/xtab.export. That is
44 a. "exportfs" reads from /var/lib/nfs/xtab and writes to
45 /var/lib/nfs/xtab.export.
46 b. "mountd" reads from /var/lib/nfs/xtab.export and writes to
49 The idea is "mountd" doesn't have to read /var/lib/nfs/xtab, which
52 Changes from knfsd 1.4.3:
54 1. nfsd-2.2.7-nfsfh.patch, a new kernel patch for filehandle.
55 2. nfsd-2.2.7-2.lockd.patch, a new patch for lockd.
58 Changes from knfsd 1.4.2:
60 1. A mountd patch so that the syslog reports unknown requests, and also
61 reports *what* is being (un)mounted, from Piete Brooks
62 <Piete.Brooks@cl.cam.ac.uk>.
63 2. Fix knfsd.init for restart.
65 4. knfsd-compat.spec is removed.
66 5. nfsd-2.2.7-lockd.patch, a patch to start lockd independent of
69 Changes from knfsd 1.4.1:
71 1. Resolve symlink for umount from Piete.Brooks@cl.cam.ac.uk (Piete
73 2. Fix knfsd.init for statd.
75 Changes from knfsd 1.4:
77 1. nfsd-2.2.7-3.patch. This is the only patch you need for Linux 2.2.7
86 nfsd-2.2.7-quota.patch
87 nfsd-2.2.7-mknod.patch
88 3. Statd update by Jeff Uphoff <juphoff@transmeta.com>.
89 4. netgroups patch from Peter Breitenlohner <peb@mppmu.mpg.de>.
90 5. Add option checking to exportfs.
92 Changes from knfsd 1.3.3b:
94 1. Add linux-2.2.7-sunrpc.patch for a SMP bug in sunrpc.
95 2. Add --port/-P to nfsd/mountd, by Jeff Johnson <jbj@redhat.com>.
96 3. Add nfsd.8, mountd.8 and statd.man, by Olaf Kirch
98 4. Update nfsstat.man by Olaf Kirch <okir@monad.swb.de>.
99 5. Statd fix by Jeff Uphoff <juphoff@transmeta.com>.
100 6. Remove knfsd-nok.patch.
102 Changes from knfsd 1.3.3a:
104 1. Fix stdin/stdout/stdout handling in mountd.
105 2. nfsd-2.2.7-mknod.patch. A patch for mknod.
106 3. nfsd-2.2.7-quota.patch. A patch for quota.
108 Changes from knfsd 1.3.3:
110 1. Fix hostname matching for wildcard, subnet and netgroup.
112 Changes from knfsd 1.3.2:
114 1. Modified mountd to allow clients without IP address to hostname map.
116 Changes from knfsd 1.3.1a:
118 1. nfsd-2.2.5-3.patch. This is the only patch you need for Linux 2.2.5.
120 Changes from knfsd 1.3.1:
122 1. A patch for knfsd.spec from Markus Linnala <maage@cs.tut.fi>.
124 Changes from knfsd 1.3a:
126 1. nfsd-2.2.8-1.patch. This is the only patch you need for Linux 2.2.8.
127 2. nfsd-2.2.7-2.patch. This is the only patch you need for Linux 2.2.7.
129 Changes from knfsd 1.3:
131 1. Adding "--no-nfs-version 3" to mountd in knfsd.init from RedHat 6.0.
133 Changes from knfsd 1.2.2a:
135 1. Updated knfsd.init from RedHat 6.0.
136 2. nfsd-2.2.7-1.patch. This is the only patch you need for Linux 2.2.7.
137 3. Misc updates from RedHat 6.0.
139 Changes from knfsd 1.2.2:
141 1. Make the default NFS server kernel thread to 8 in the rc script.
143 Changes from knfsd 1.2:
145 1. Moved knfsd.spec to knfsd-compat.spec.
146 2. Update knfsd.spec from knfsd-981204-3.src.rpm.
147 3. Fix the squash_[ug]id parsing in /etc/exports from Anders
148 Hammarquist <iko@cd.chalmers.se>.
149 4. nfsd-2.2.5-file.patch to clear the bogus bit for MKDIR and SYMLINK.
150 5. nfsd-2.2.5-1.patch. A NFS patch based on nfsd-2.2.3-1.patch for
153 Changes from knfsd 1.1:
156 cache-2.1.131-1.patch
161 nullproc-2.1.1xx.diff
166 sunrpc-2.1.123-1.patch
167 2. locks-2.2.3.diff. A patch for file lock.
168 3. nfsd-2.2.3-1.patch. A NFS patch by "G. Allen Morris III"
171 Changes from knfsd 1.0:
173 1. Handle broken /var/lib/nfs/rmtab.
174 2. Handle lower/upper cases in wildcard hostnames in /etc/exports.
176 Changes from knfsd-981204:
178 1. Modify etc/rc.nfsd to check /var/lib/nfs/rmtab during startup.
179 2. Add knfsd.spec for RedHat 5. Need nfs-server-2.2beta37-1.1.src.rpm
180 and initscripts-3.78.1-2.src.rpm.
181 3. Add support for "make install prefix=...".
183 Changes from knfsd-981122:
185 1. Modify etc/rc.nfsd and etc/rc.nfsfs to handle statd during shutdown.
186 2. Remove maximum knfsd count checking.
188 4. cache-2.1.131-1.patch from G. Allen Morris III (gam3@acm.org).
189 5. lock-2.1.131.diff. A nfsd lock patch for Linux 2.1.131.
191 Changes from knfsd-981113:
193 1. procfs-2.1.127.patch from G. Allen Morris III (gam3@acm.org).
194 2. Modify etc/rc.nfsd and etc/rc.nfsfs to better handle statd.
195 3. Fix the sub-mounted directories.
197 Changes from knfsd-981022:
199 1. Fix buffer overruns from Peter Benie <pjb1008@cus.cam.ac.uk>.
200 2. Fix hostname matching.
201 3. Correctly handle dupilcations in /etc/exports.
202 4. Add -F flag to statd.
203 5. nfsd-2.1.127-5.patch from G. Allen Morris III (gam3@acm.org).
205 Changes from knfsd-981014:
207 1. lock-2.1.1xx.diff. A nfsd lock patch.
208 2. nullproc-2.1.1xx.diff. Allow any clients to call the nfsd NULL proc.
209 3. Add etc/rc.nfsfs to handle statd.
210 3. Update etc/rc.nfsd to handle statd.
211 4. nfsd-2.1.125-2.patch from G. Allen Morris III (gam3@acm.org).
212 5. Fix inet_ntoa usage in statd.
214 Changes from knfsd-981010:
216 1. Check client aliases when matching for wildcard client hostnames.
217 2. Fix memory leak in mountd.
218 3. Fix filename in nfsd-2.1.125-1.patch.
220 Changes from knfsd-980930:
222 1. nfsd-2.1.125-1.patch from G. Allen Morris III (gam3@acm.org) and me.
223 2. Fix the hostent bugs in mountd and statd.
224 3. Remove "kexportfs -au" for "rc.nfsd stop".
226 Changes from knfsd-980925:
228 1. socket-2.1.1xx.diff for creating socket on NFS client.
229 2. There is a knsfd root_squash patch for Linux 2.1.1xx,
230 root-2.1.1xx.diff. It is only tested on linux 2.1.123.
231 It also fixes the server side 0711 mode bug.
232 3. sunrpc-2.1.123-1.patch from Bill Hawes <whawes@transmeta.com>.
233 4. nfsd-2.1.122-3.patch from G. Allen Morris III (gam3@acm.org).
234 5. Various buffer overrun changes.
235 6. Fix mountd to check the duplicated entry in rmtab.
236 7. Change exportfs to ignore warnings for "-r".
239 Changes from knfsd-980922:
241 1. nfsd-2.1.121-4.patch from G. Allen Morris III (gam3@acm.org).
242 2. Make async as default for export. It matches the user space NFS
245 Changes from knfsd-980920:
247 1. Add NFS mount version flags to mountd. Change rc.nfsd to disable
249 2. Fix client hostname.
250 3. rc.nfsd runs kexportfs with -r instead of -a for restart and reload.
252 Changes from knfsd-980915:
254 1. There is a knsfd quota patch for Linux 2.1.1xx, quota-2.1.1xx.diff.
255 It is only tested on linux 2.1.122.
256 2. The submount pathname is removed from the xtab file.
257 3. rc.nfsd runs kexportfs with -r instead of -a for start.
258 4. Fix kshowmount -e.
259 5. Fix hostname matching.
260 6. Fix compiling on libc 5.
262 Changes from knfsd-980910:
264 1. nfsd-2.1.121-3.patch from G. Allen Morris III (gam3@acm.org).
265 2. A new flag, -r, for exportfs.
266 3. Don't put an entry in xtab if kernel rejects it.
267 4. Use the official hostname when checking if 2 hostnames are the same.
272 ftp://ftp.varesearch.com/pub/support/hjl/knfsd/knfsd-1.4.7.tar.gz
273 ftp://ftp.varesearch.com/pub/support/hjl/knfsd/knfsd-1.4.6-1.4.7.diff.gz
274 ftp://ftp.kernel.org/pub/linux/devel/gcc/knfsd-1.4.7.tar.gz
275 ftp://ftp.kernel.org/pub/linux/devel/gcc/knfsd-1.4.6-1.4.7.diff.gz
277 You have to apply the patch, locks-2.2.3.diff, to the Linux kernel
278 first. It fixes quite some file lock bugs. That patch is against Linux
279 2.2.3. If your kernel is different, you have to apply it by hand.
281 nfsd-2.2.3-1.patch is a new knfsd patch against linux 2.2.3 from
282 "G. Allen Morris III" (gam3@acm.org). It works for me on x86 and alpha.
283 It is needed for the none-Linux NFS clients. You can get Allen's
286 http://www.CSUA.Berkeley.EDU/~gam3/knfsd/
288 nfsd-2.2.7-3.patch is based on nfsd-2.2.3-1.patch for Linux 2.2.7. If
289 you use Linux 2.2.7, you should apply nfsd-2.2.7-3.patch instead of
290 nfsd-2.2.3-1.patch. Please don't use any other patches included here
291 for Linux 2.2.7. For other kernel versions, you may have to apply it
294 nfsd-2.2.7-2.lockd.patch is also necessary to start lockd independent
302 Makefile will try to determine which C library you are using and compile
303 this package accordingly.
307 will install the knfsd binaries. You have to install a knfs start up
308 script by hand. There is a new rc.nfsd in etc. I use it for both the
309 user-space nfsd and the kernel nfsd.
311 There is one RPM spec file, knfs.spec, which is for a Linux system
312 based on Linux 2.2 without support for Linux 2.0. You also need
313 knfsd-1.4.6.tar.gz to create the knfsd RPMs.