Subject: Starting nfs service
To: None <netbsd-users@netbsd.org>
From: Max <netbsd-users@netbsd.org>
List: netbsd-users
Date: 09/26/2003 13:01:47
Hi,
I'm a newbie in NFS so excuse me if I did something stupid.
I have a problem starting nfsd.
I created
-rw-rw-r-- 1 root wheel 47 Sep 26 12:21 /etc/exports
with
/usr/pkgsrc /usr/pkgdist -maproot=root pc2
I added
mountd=YES
nfsd=YES
to /etc/rc.conf
When I start the servers (/etc/rc.d/mountd start; /etc/rc.d/nfsd start) I
get
Starting mountd.
but there is no mountd nor nfsd process running.
I tried manually:
pc1# /usr/sbin/mountd -d
Getting export list.
Got line /usr/pkgsrc /usr/pkgdist -maproot=root pc2
Making new ep fs=0x400,0x78b
doing opt -maproot=root pc2
got host pc2.domain.com
Getting mount list.
Here we go.
and then back to the shell.
If I start nfsd manually, the processes are started but I can't connect.
The only document I found about nfs is
http://www.netbsd.org/Documentation/network/netboot/nfs.html
but it doesn't help me with my problem.
Any help welcome.
Max