strange nfs problem, need nfs guru

Nils Kassube kassube at gmx.net
Thu Aug 21 08:24:42 UTC 2014


Tom H wrote:
> Anyway, it looks like your kernel's failing this test in
> "/etc/init.d/nfs-kernel-server":
> 
> # See if our running kernel supports the NFS kernel server
> if ! grep -E -qs "[[:space:]]nfsd\$" /proc/filesystems; then
> log_warning_msg "Not starting $DESC: no support in current kernel."
>                         exit 0
>                 fi

I think you are on the right track here but you missed the finer detail
of Gene's setup of using 10.04 with a recent kernel. 10.04 has a
slightly different check in the mentioned script:

# See if our running kernel supports the NFS kernel server
if [ -f /proc/kallsyms ] && ! grep -qE ' nfsd_serv      ' /proc/kallsyms; then
        log_warning_msg "Not starting $DESC: no support in current kernel."   
        exit 0
fi

And if I check /proc/kallsyms like that on my 3.13.0-34-generic kernel
(14.04), the result is indeed negative. So I think Gene should use the
check you posted instead of his version which works for the kernel of
10.04.


Nils





More information about the ubuntu-users mailing list