Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 1998 01:51:26 -0800 (PST)
From:      john@CSUA.Berkeley.EDU (John Morgan Salomon)
To:        questions@FreeBSD.ORG
Subject:   NFS problem
Message-ID:  <199811250951.BAA00688@soda.CSUA.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help

Hi there

I installed 2.2.7 recently and am using a default kernel with a few devices
added (compaq scsi adapter, nothing that should radically mess with my kernel.)

I'm trying to export some directories by nfs, and am failing miserably.
nfsd and mountd are running as root, and start up after portmap as they
should.  Debug flags on all of the above give me nothing (mountd -d
in particular thinks it's happy.)  Perms on the exported directories
are good.  Removing all the flags in /etc/exports makes no difference, as
does simply trying to export /.

I have been trawling through dejanews for 2 days now and keep coming across
references to a known freebsd nfs problem, without any pointers to what the
solution might be.  Can you help me?

Here are the last few lines of my /var/log/messages, and my /etc/exports file:

messages:
Nov 24 17:43:16 coruscant nfsd:[273]: can't Add UDP socket
Nov 24 17:43:25 coruscant nfsd:[284]: nfssvc: Operation not permitted
Nov 24 17:43:25 coruscant nfsd:[285]: nfssvc: Operation not permitted
Nov 24 17:43:25 coruscant nfsd:[286]: nfssvc: Operation not permitted
Nov 24 17:43:25 coruscant nfsd:[287]: nfssvc: Operation not permitted
Nov 24 17:45:04 coruscant mountd[312]: Can't change attributes for /usr2/build. 
Nov 24 17:45:04 coruscant mountd[312]: Bad exports list line /usr2/build -maproo
t

exports:
/usr2/download -maproot=0:0
/usr2/build -maproot=0:0
/usr2/archive -maproot=0:0
/usr2/home2 -maproot=0:0

and mountd -d gives me
Getting export list.
Got line /usr2/download -maproot=0:0
Making new ep fs=0x20007,0x7077d07a
doing opt -maproot=0:0
Adding a default entry
Got line /usr2/build -maproot=0:0
Found ep fs=0x20007,0x7077d07a
doing opt -maproot=0:0
Adding a default entry
Got line /usr2/archive -maproot=0:0
Found ep fs=0x20007,0x7077d07a
doing opt -maproot=0:0
Adding a default entry
Got line /usr2/home2 -maproot=0:0
Found ep fs=0x20007,0x7077d07a
doing opt -maproot=0:0
Adding a default entry
Getting mount list.
Here we go.
Mount successfull.

Thanks, 

-John

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811250951.BAA00688>