*BSD News Article 22564


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!monu6!daneel.rdt.monash.edu.au!andrew
From: andrew@daneel.rdt.monash.edu.au (Andrew Moore)
Subject: Re: Using NetBSD as an NFS server?
Message-ID: <andrew.750991990@daneel.rdt.monash.edu.au>
Sender: news@monu6.cc.monash.edu.au (Usenet system)
Reply-To: andrew.moore@rdt.monash.edu.au
Organization: Monash University, Melb., Australia.
References: <29pjup$3qf@hebron.connected.com> <MYCROFT.93Oct17035645@duality.gnu.ai.mit.edu>
Date: Tue, 19 Oct 1993 00:53:10 GMT
Lines: 40

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.


Hope this helps,
Andrew.