Subject: Re: mountd re: exports
To: Matt Herzog <mherzog@mediaone.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 02/22/2001 21:07:42
On Tue, Feb 20, 2001 at 11:33:52AM -0500, Matt Herzog wrote:
> Hi.
> I'm still trying to get an install going
> using tpftp/nfs/rarp. I had unwittingly
> been feeding my nfsd 2 export files, having
> misused CVS ci/co commands. So now I have
> just /etc/exports and it reads:
>
> /export/numbat -alldirs -maproot=0: -network 10
>
> Do I need to specify the client's hostname?
> I'm still observing the client failing to find the
> kernel. Also I see this in my server's syslog:
>
> Feb 20 11:10:20 pobble rpcbind: cannot create socket for udp6
> Feb 20 11:10:20 pobble rpcbind: cannot create socket for tcp6
> Feb 20 11:10:21 pobble mountd[124]: "/export/numbat -alldirs
> -maproot", line
> 1: Could not remount /export/numbat: Invalid argument
> Feb 20 11:10:22 pobble rpc.lockd: Starting
You can only export -alldir a whole filesystem, not a subset of it.
So you need to export -alldirs '/export' (or / if /export isn't a separate
partition).
For diskless clients I usually only exports the mount points, for only
that client.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--