Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 1998 06:47:05 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        kevin.choi@cnes.fr (Kevin Kyeong-il CHOI)
Cc:        questions@FreeBSD.ORG
Subject:   Re: How can I install NFS on FreeBSD 2
Message-ID:  <199807281047.GAA18222@lucy.bedford.net>
In-Reply-To: <004101bdba04$52951760$52099584@pc-kichoi.cst.cnes.fr> from Kevin Kyeong-il CHOI at "Jul 28, 98 10:47:16 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Kyeong-il CHOI wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> (2) Change in /etc/exports as
> 	/usr	-alldirs	pc-kichoi
> 	/usr/pub -alldirs -network 132.149 -mask 255.255.0.0
> (3) Update mountd as
> 	ps aux | grep mountd  ---=> gives PID as 98
> 	kill -1 98
> 
> *** At this point, I get the errors as
> 	Could not remount /usr/pub: Invalid argument
> 	Bad exports list line /usr/pub -alldirs -network 132.149 -mask ...
> 

If /usr/pub is not a separate file system (i.e., listed in /etc/fstab)
then that is your trouble.
You might try instead:

 	/usr /usr/pub -alldirs -network 132.149 -mask 255.255.0.0

but that too will fail, since -alldirs causes an error; -alldirs can
be applied only to the root of a filesystem.

How about:

 	/usr/pub 	-network 132.149 -mask 255.255.0.0

It will work, but may not be what you want.

Do you really need "-alldirs?", i.e. does some host on 132.149.x.x
need to do   "mount yourhost:/usr/pub/foo/bar /mnt"   ?

Dave
-- 
Sancho Panza: `Microsoft Windows NT Server is the most secure network 
	operating system available.'
Don Quixote: `You are mistaken, Sancho.'

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?199807281047.GAA18222>