Subject: Re: rpcbind and nfs trouble (solved)
To: Daniel Eggert <danieleggert@mac.com>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 04/09/2003 15:26:03
OK. I solved this one.
I had
critical_filesystems_local="/usr"
in my /etc/rc.conf
but it should have been
critical_filesystems_local="/usr $critical_filesystems_local"
so /var didn't get mounted in my case :(
Now NFS is running.
Thanks for the help.
/Daniel
On onsdag, apr 9, 2003, at 09:52 Europe/Copenhagen, Daniel Eggert wrote:
> I'm trying to run the server. I've got this in rc.conf:
>
> mountd=YES
> mountd_flags=""
> rpcbind=YES
> nfs_server=YES
> nfsd_flags="-tun 8"
>
> But nfsd and mountd don't register with the rpc:
>
> [kelvin] /etc/rc.d# ./rpcbind start
> Starting rpcbind.
> [kelvin] /etc/rc.d# ./mountd start
> Starting mountd.
> [kelvin] /etc/rc.d# ./nfsd start
> Starting nfsd.
> [kelvin] /etc/rc.d# rpcinfo -p
> program vers proto port service
> 100000 4 0 111 portmapper
> 100000 3 0 111 portmapper
> 100000 2 0 111 portmapper
>
>
> Any ideas?
>
> Daniel
>
> On tirsdag, apr 8, 2003, at 19:56 Europe/Copenhagen, Jeremy C. Reed
> wrote:
>
>> Are you having problems with the server or client?
>>
>> To set up the server do:
>>
>> rpcbind=YES
>> mountd=YES
>> nfs_server=YES
>>
>> Setup /etc/exports.
>>
>> Then start in order:
>>
>> /etc/rc.d/rpcbind start
>> /etc/rc.d/mountd start
>> /etc/rc.d/nfsd start
>>
>>
>>
>> Jeremy C. Reed
>> http://bsd.reedmedia.net/
>>
>