strange nfs problem, need nfs guru

Gene Heskett gheskett at wdtv.com
Wed Aug 20 19:26:23 UTC 2014


On Wednesday 20 August 2014 08:15:22 Tom H did opine
And Gene did reply:
> On Wed, Aug 20, 2014 at 7:23 AM, Gene Heskett <gheskett at wdtv.com> wrote:
> > I would like to setup an nfs4.1 share on this machine. Unforch, I
> > keep getting this message when I do a sudo service nfs-kernel-server
> > restart * Stopping NFS kernel daemon
> > [ OK ]
> > * Unexporting directories for NFS kernel daemon...
> > [ OK ]
> > * Not starting NFS kernel daemon: no support in current kernel.
> > gene at coyote:/usr/src/linux-3.13.6$
> > 
> > Shares on other machines are fully read/writable from this machine
> > however.
> > 
> > /etc/exports:
> > ...
> > /home/gene/ 192.168.71.3/24(rw,sync)
> > 
> > This is 10.04.4 LTS. Up to date as of an hour ago.
> > 
> > Am I missing something?
> 
> There's nothing nfsv4.1 specific in "/etc/exports" above; or in the
> error message.
> 
> Since nfsd isn't even starting, let's start with:
> 
> grep nfs /proc/filesystems

gene at coyote:/var/log$ grep nfs /proc/filesystems
nodev	nfs
nodev	nfs4
nodev	nfsd

> cat /etc/default/{nfs-common,nfs-kernel-server}
gene at coyote:/var/log$ cat /etc/default/{nfs-common,nfs-kernel-server}
# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Valid 
alternatives
# for the NEED_ options are "yes" and "no".

# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=

# Options for rpc.statd.
#   Should rpc.statd listen on a specific port? This is especially useful
#   when you have a port-based firewall. To use a fixed port, set this
#   this variable to a statd argument like: "--port 4000 --outgoing-port 
4001".
#   For more information, see rpc.statd(8) or 
http://wiki.debian.org/?SecuringNFS
STATDOPTS=

# Do you want to start the idmapd daemon? It is only needed for NFSv4.
NEED_IDMAPD=

# Do you want to start the gssd daemon? It is required for Kerberos 
mounts.
NEED_GSSD=
# Number of servers to start up
RPCNFSDCOUNT=8

# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0

# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information, 
# see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
RPCMOUNTDOPTS=--manage-gids

# Do you want to start the svcgssd daemon? It is only required for 
Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=

# Options for rpc.svcgssd.
RPCSVCGSSDOPTS=

> 
> The syntax of "/etc/exports" is strict. I've never seen or used a
> trailing "/" so I'd delete it if I were you, although this might be a
> non-issue.

I did have a /24 there, took it out, no diff.  Exact same error message.

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