strange nfs problem, need nfs guru

Gene Heskett gheskett at wdtv.com
Thu Aug 21 10:27:37 UTC 2014


On Thursday 21 August 2014 04:24:42 Nils Kassube did opine
And Gene did reply:
> 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

Replacing my similar line with this, gets me a more informative msg:
gene at coyote:/etc/init.d$ sudo service nfs-kernel-server restart
 * Stopping NFS kernel daemon                                                                                                                                                                                        
[ OK ] 
 * Unexporting directories for NFS kernel daemon...                                                                                                                                                                  
[ OK ] 
 * Exporting directories for NFS kernel daemon...                                                                                                                                                                           
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' 
specified for export "192.168.71.3/24:/home/gene/".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

exportfs: /etc/exports [2]: Neither 'subtree_check' or 'no_subtree_check' 
specified for export "192.168.71.3/24:/".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

                                                                                                                                                                                                                     
[ OK ]
 * Starting NFS kernel daemon 

But, ssh'd into one of those machines, there isn't anything at the /net/ 
link.

> # 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

Yes, the above matches what I have.  Or had.

> 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

So progress, but not working yet.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS




More information about the ubuntu-users mailing list