*BSD News Article 22607


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!comp.vuw.ac.nz!waikato!thebes.cc.waikato.ac.nz!hamish
From: hamish@thebes.cc.waikato.ac.nz (Hamish Marson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Using NetBSD as an NFS server?
Date: 20 Oct 1993 01:59:14 GMT
Organization: The University of Waikato
Lines: 56
Message-ID: <2a261i$19qa@thebes.cc.waikato.ac.nz>
References: <29pjup$3qf@hebron.connected.com> <MYCROFT.93Oct17035645@duality.gnu.ai.mit.edu> <andrew.750991990@daneel.rdt.monash.edu.au>
NNTP-Posting-Host: thebes.cc.waikato.ac.nz
X-Newsreader: TIN [version 1.2 PL1]

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 have not seen the original posting, hope I am not going over old
> ground)

> additionally just simply saying mount machine2:remotedisk local_mount_point
> will not work, you need to put in an export file  and modify
> /etc/netstart so nfs_server=yes (on NetBSD at least) and either reboot the
> serving machine or run the nfsserver code from the /etc/rc(.local?) file

> this gets things like mountd and some nfsd processes going (these can be
> executed from the command line by root)

> The main reason (apart from the kernel config entry, forgotten what that does
> but I compile with it anyway) a machine will not work as a server is
> because it has no mountd process.

> This can easily be checked by using the command showmount with the -e
> option (show exports) eg.
> showmount -e server_machine 
> this command can be executed on a client or on the server it should
> return the disk export information, if not, mountd is probably not
> running.

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....


> Hope this helps,
> Andrew.

--
======================================================================
|  Hamish Marson                                                     |
|  Systems Programmer              |                                 |
|  Computer Services               | INTERNET h.marson@waikato.ac.nz |
|  University of Waikato           | PHONE    +64 7 8562889 xt 8181  |
|  New Zealand                     | FAX      +64 7 8384066          |
===========Disclaimer :- Remember. You heard it here first.===========