*BSD News Article 22997


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!news.umbc.edu!europa.eng.gtefsd.com!uunet!Germany.EU.net!sunmbx.netmbx.de!mailgzrz.TU-Berlin.DE!news.dfn.de!server2.rz.uni-leipzig.de!news.uni-jena.de!news.tu-ilmenau.de!floyd.rz.tu-ilmenau.de!pohl
From: pohl@rz.tu-ilmenau.de (Jochen Pohl)
Subject: Re: Using NetBSD as an NFS server?
Message-ID: <1993Oct28.104018.13916@news.tu-ilmenau.de>
Sender: news@news.tu-ilmenau.de (Newsserver)
Nntp-Posting-Host: dali.rz.tu-ilmenau.de
Organization: Technische Universitaet Ilmenau
References: <29pjup$3qf@hebron.connected.com> <MYCROFT.93Oct17035645@duality.gnu.ai.mit.edu> <andrew.750991990@daneel.rdt.monash.edu.au> <2a261i$19qa@thebes.cc.waikato.ac.nz>
Date: Thu, 28 Oct 93 10:40:18 GMT
Lines: 32

In article <2a261i$19qa@thebes.cc.waikato.ac.nz>, hamish@thebes.cc.waikato.ac.nz (Hamish Marson) writes:
> Andrew Moore (andrew@daneel.rdt.monash.edu.au) wrote:
> > mycroft@duality.gnu.ai.mit.edu (Charles Hannum) writes:
> 
> 
> > >[PLEASE MAIL QUESTION TO netbsd-help@sun-lamp.cs.berkeley.edu!  THANK
> > >YOU.]
> 
> > >In article <29pjup$3qf@hebron.connected.com>
> > >bouwman@hebron.connected.com (Bryan Bouwman) writes:
> 
> > >   I have two systems running NetBSD 0.9 set up on an ethernet
> > >   network.  [...]  But I can not get either one of them to be an NFS
> > >   server.
> 
> > >You need to recompile the kernel with `options NFSSERVER'.
> 
> I got this far, but now mountd dies, and coredumps leaving a core.mountd
> in the root directory.... I'm going to try tonoght, exporting the 
> directory to everyone, instead of a single machine and see if that makes
> any difference (Someone posted me and said mountd can core dump if the 
> exports file isn't exactly how it wants it, number of tabs etc....
> 


I had the same problem. mountd dies because it uses the syscall getfd(), which
is only supported if the kernel is also configured as NFSCLIENT.
Recompile the kernel with `options NFSSERVER,NFSCLIENT` and mountd should work.


Hope this helps,
Jochen