On Tue, 2003-08-12 at 05:44, Michael Manchester wrote:
> > What does the following command return?
> >
> > $ find /lib/modules/`uname -r`/ -name "nfsd*"
> >
>
> Nothing is returned by the above command.
>
> > If the kernel module exists, you should find it
> > somewhere in that
> > directory tree.
> >
> > If not, nfsd support could be already compiled into
> > the kernel; look for
> > something similar to the following in your
> > /var/log/kern.log.
> >
> > "Installing knfsd (copyright (C) 1996
> > okir@monad.swb.de)"
> >
>
> Nothing found in the logs. for the kern.log or
> kern.log.0
>
OK. Everything points to a lack of kernel support for nfs. Since it
appears you do not have a nfsd module to load or existing nfsd support
compiled into the kernel, I would suggest you grab the kernel source for
your running kernel and compile modular support for nfsd.
Search for the kernel source for your running kernel -
$ apt-cache search `uname -r` | grep kernel-source-`uname -r`
If you are able to locate the correct source, then grab the source -
$ apt-get install kernel-source-`uname -r`
Untar the source (as root) -
$ cd /usr/src
( you will need bzip2 to extract; $ apt-get install bzip2 )
$ tar xjf kernel-source-`uname -r`.tar.bz2
$ ln -s /usr/src/kernel-source-`uname -r` /usr/src/linux
$ cd /usr/src/linux
Compile module for nfsd -
( you will need libncurses5-dev for `make menuconfig` )
$ apt-get install libncurses5-dev
$ make menuconfig
Goto Filesystems --> Network File Systems --> select "NFS server
support" as a module <M>; exit and save the kernel config
$ make dep && make modules modules_install
Load the nfsd module -
$ modprobe nfsd
$ echo nfsd >> /etc/modules
Restart nfsd -
$ /etc/init.d/nfs-kernel-server restart
--Matt Miller Systems Administrator MP TotalCare gpg public key id: 08BC7B06
----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:31:40 EDT