Subject: nfs questions
To: None <netbsd-help@netbsd.org>
From: Lubos Vrbka <shnek@chemi.muni.cz>
List: netbsd-help
Date: 05/13/2003 16:25:39
hi guys,

i have few probably very stupid questions concerning nfs. i have several 
computers and i want them to mount shared /etc and /home directories 
from server over nfs. just to explain - "shared /etc" is not mounted 
directly to /etc, it's just used to get shared passwd files...

/etc/exports contains:
/home   -network 192.168.1/24
/etc    -ro -maproot=0 -network 192.168.1/24

i put following into rc.conf (i got this from server that is currently 
running and nfs works fine):
nfs_server=YES
                 mountd_flags=""
                 nfsd_flags="-6tun 4"

after startup nfsd complains:
/etc/rc.d/nfsd: WARNING: $mountd is not set.

what am i missing/doing wrong?

do i have to have nfs_client=YES, i.e. enabled on server for any reason? 
  btw, nfs_server and nfs_client are both "supervised" by nfsd, or are 
these some special separate daemons? i was looking for text "mountd" in 
  /etc but i didn't get anything useful...

thanks for any help, regards,

lubos

-- 
-
#################################################
Lubos Vrbka
National Centre for Biomolecular Research
Masaryk university, Brno, Czech Republic

shnek@chemi.muni.cz
http://www.chemi.muni.cz/~shnek
tel. +420 541 129 508
#################################################