Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!jdross From: jack david ross <jdross@indiana.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Setting up a nfs server? Date: Fri, 16 Jun 1995 14:06:10 -0500 Organization: Indiana University, Bloomington Lines: 67 Message-ID: <Pine.ULT.3.91.950616140522.20655A-100000@silver.ucs.indiana.edu> References: <Pine.ULT.3.91.950615132421.26577A-100000@silver.ucs.indiana.edu> <3rrad6$q0r@news.cs.tu-berlin.de> NNTP-Posting-Host: silver.ucs.indiana.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: jdross@silver.ucs.indiana.edu In-Reply-To: <3rrad6$q0r@news.cs.tu-berlin.de> Hello thanks for the reply, but I don't think it worked! See if you can mount our NFS server, the address is 192.217.111.4 and the dir is /usr I did not set up passwords or anything so you could probably get in, on that note is it like an ftp server and accept anonymous connections. Any other suggestions on how to mount it? Another note is that I tried showmount and got this error RPC: Port mapper failureCan't do Exports rpc thanks -jack ross j.ross@gomail.sjcpl.lib.in.us On 16 Jun 1995, Lars Hentschke wrote: > jack david ross (jdross@indiana.edu) wrote: > : I am trying to set up my machine as a nfs server, the post configure > : sysinstal from 2.0.5 won't work. So How would I do this by hand I tried a > : line like this "/sbin/mount -t nfs freenet:/sharedfs /project" but I got > : an error that said "NFS Portmap: RPC: Program not registered" ! I have > : not edited the fstab at all! Any suggestions? > > to setup a nfs-server: > 1. edit /etc/exports > > If you have a public Disk on /usr/local/ftp on machine "freenet" > (/etc/fstab: /dev/sd7a /usr/local/ftp ufs rw 1 1) > and all other machines should mount the Disk by typing: > mount freenet:/usr/local/ftp /mnt > /etc/exports can look like this: > -------------- > /usr/local/ftp > -------------- > > If all other machines will also mount subdirs of this disk, > like: > mount freenet:/usr/local/ftp/pub/2.0.5-RELEASE /distribution > /etc/exports must look like: > ------------- > /usr/local/ftp /usr/local/ftp/pub/2.0.5-RELEASE > ------------- > > And if only this 3 machines are allowed to mount the disk > (clientA, clientB, clientC) > /etc/exports: > ------------- > /usr/local/ftp clientA,clientB,clientC > ------------- > > 2. edit /etc/sysconfig > set nfs_server to "YES" (hmmm, or to "" ? try it!) > > 3. reboot > > 4. try to mount this disk from other machines or verify with > showmount -e freenet > which mountpoints are exported from freenet. > > Lars. > -- > ----------------------------------------------------------------------------- > | Lars Hentschke voice:033052+50726 line:033052+51576 14400/V32bis (public) | > | email:nuggets@cs.tu-berlin.de OR nuggets@tworivers.bln.sub.org (home) | > ----------------------------------------------------------------------------- > >