Please try knfsd-981022

H.J. Lu (hjl@lucon.org)
Thu, 22 Oct 1998 08:48:55 -0700 (PDT)


Here is a new one.

-- 
H.J. Lu (hjl@gnu.org)
---
This is the Linux kernel NFS daemon. It is based on linux-nfs 0.4.22.
It is tested on Linux/alpha and Linux/x86 running glibc 2.0.7.

I made my knfsd package available only because I use it and noone else seems to maintain it. But I don't have much time to really work on it. I will only fix bugs in the NFS utilities and serious kernel NFS bugs which I can duplcate easily. If you have any kernel NFS server problem, please report it to the Linux kernel mailing list. If it can be reproduced with Linux NFS server and client in less than 5 minutes, you can also send me a copy in addition to sending it to the Linux kernel mailing list. I may take a look when I have time. However I will collect kernel NFS related patches. Contributions are more than welcome.

The NFS lock only works with lockd. Please make sure the portmapper, portmap, should be started before mounting NFS.

Changes from knfsd-981014:

1. lock-2.1.1xx.diff. A nfsd lock patch. 2. nullproc-2.1.1xx.diff. Allow any clients to call the nfsd NULL proc. 3. Add etc/rc.nfsfs to handle statd. 3. Update etc/rc.nfsd to handle statd. 4. nfsd-2.1.125-2.patch from G. Allen Morris III (gam3@acm.org). 5. Fix inet_ntoa usage in statd.

Changes from knfsd-981010:

1. Check client aliases when matching for wildcard client hostnames. 2. Fix memory leak in mountd. 3. Fix filename in nfsd-2.1.125-1.patch.

Changes from knfsd-980930:

1. nfsd-2.1.125-1.patch from G. Allen Morris III (gam3@acm.org) and me. 2. Fix the hostent bugs in mountd and statd. 3. Remove "kexportfs -au" for "rc.nfsd stop".

Changes from knfsd-980925:

1. socket-2.1.1xx.diff for creating socket on NFS client. 2. There is a knsfd root_squash patch for Linux 2.1.1xx, root-2.1.1xx.diff. It is only tested on linux 2.1.123. It also fixes the server side 0711 mode bug. 3. sunrpc-2.1.123-1.patch from Bill Hawes <whawes@transmeta.com>. 4. nfsd-2.1.122-3.patch from G. Allen Morris III (gam3@acm.org). 5. Various buffer overrun changes. 6. Fix mountd to check the duplicated entry in rmtab. 7. Change exportfs to ignore warnings for "-r". 8. Fix showmount -e.

Changes from knfsd-980922:

1. nfsd-2.1.121-4.patch from G. Allen Morris III (gam3@acm.org). 2. Make async as default for export. It matches the user space NFS server.

Changes from knfsd-980920:

1. Add NFS mount version flags to mountd. Change rc.nfsd to disable NFS V3 for mountd. 2. Fix client hostname. 3. rc.nfsd runs kexportfs with -r instead of -a for restart and reload.

Changes from knfsd-980915:

1. There is a knsfd quota patch for Linux 2.1.1xx, quota-2.1.1xx.diff. It is only tested on linux 2.1.122. 2. The submount pathname is removed from the xtab file. 3. rc.nfsd runs kexportfs with -r instead of -a for start. 4. Fix kshowmount -e. 5. Fix hostname matching. 6. Fix compiling on libc 5.

Changes from knfsd-980910:

1. nfsd-2.1.121-3.patch from G. Allen Morris III (gam3@acm.org). 2. A new flag, -r, for exportfs. 3. Don't put an entry in xtab if kernel rejects it. 4. Use the official hostname when checking if 2 hostnames are the same. 5. Allow submounts.

It is available at

ftp://ftp.yggdrasil.com/private/hjl/knfsd-981022.tar.gz ftp://ftp.yggdrasil.com/private/hjl/knfsd-981014-981022.diff.gz ftp://ftp.kernel.org/pub/linux/devel/gcc/knfsd-981022.tar.gz ftp://ftp.kernel.org/pub/linux/devel/gcc/knfsd-981014-981022.diff.gz

You have to apply the patch, linux-2.1.1xx.diff, to the Linux kernel first. It fixes quite a few nfs bugs. That patch is against Linux 2.1.111. If your kernel is different, you have to apply it by hand.

If you want quota to work for knfsd, you also need to apply the patch, quota-2.1.1xx.diff, to the Linux kernel. This patch is against Linux 2.1.122. If your kernel is different, you have to apply it by hand.

If you want root_squash to work for knfsd, you also need to apply the patch, root-2.1.1xx.diff, to the Linux kernel. This patch is against Linux 2.1.123. If your kernel is different, you have to apply it by hand.

If you want unix socket to work for knfsd, you also need to apply the patch, socket-2.1.1xx.diff, to the Linux kernel. This patch is against Linux 2.1.122. If your kernel is different, you have to apply it by hand.

sunrpc-2.1.123-1.patch is a knfsd patch against linux 2.1.123 by Bill Hawes <whawes@transmeta.com>. It fixes some sunrpc bugs.

nfsd-2.1.125-2.patch is a new knfsd patch against linux 2.1.125 from "G. Allen Morris III" (gam3@acm.org). It works for me on x86 and alpha. You can get Allen's current patch from

http://www.CSUA.Berkeley.EDU/~gam3/knfsd/

To compile, just do

# make

Makefile will try to determine which C library you are using and compile this package accordingly.

# make install

will install the knfsd binaries. You have to install a knfs start up script by hand. There is a new rc.nfsd in etc. I use it for both the user-space nfsd and the kernel nfsd.

Thanks.

H.J. hjl@lucon.org 10/22/98

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/