From owner-freebsd-questions Sun Jul 2 0: 5:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from kestrel.prod.itd.earthlink.net (kestrel.prod.itd.earthlink.net [207.217.121.155]) by hub.freebsd.org (Postfix) with ESMTP id 5A93137BA47 for ; Sun, 2 Jul 2000 00:05:50 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0348.cvx20-bradley.dialup.earthlink.net [209.179.251.93]) by kestrel.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id AAA28571; Sun, 2 Jul 2000 00:05:44 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id AAA02542; Sun, 2 Jul 2000 00:04:15 -0700 (PDT) Date: Sun, 2 Jul 2000 00:04:14 -0700 From: "Crist J. Clark" To: steinyv Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NFS Message-ID: <20000702000413.I1820@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000701211659.C1820@dialin-client.earthlink.net> <4.2.0.58.20000701215228.00a0bdb0@> <4.2.0.58.20000701215228.00a0bdb0@> <4.2.0.58.20000702012559.009b2e80@> <4.2.0.58.20000702021130.009ce120@> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <4.2.0.58.20000702021130.009ce120@>; from steinyv@skyweb.net on Sun, Jul 02, 2000 at 02:17:15AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jul 02, 2000 at 02:17:15AM -0400, steinyv wrote: > At 01:46 AM 7/2/00 , you wrote: > >At 12:16 AM 7/2/00 , you wrote: > >>On Sat, Jul 01, 2000 at 09:52:34PM -0400, steinyv wrote: > >> > Ok, newbie here. I installed successfully on one machine (Im a pro at > >> that > >> > now). Since my machines are not connected to the internet (yet), its only > >> > for practise, I gave the first machine the fake hostname of > >> > "gw.example.net" (sound familiar) with a fake ip address. The output of > >> > ifconfig -a shows my nic interface (ed0) witht the ip address and the > >> > loopback device. I entered the info as described for an nfs server from > >> > the handbook. > >> > >>OK, so take us through the steps. You made an exports(5) file. You > >>made sure portmap(8) was running. If mountd(8) was running, you gave > >>it a SIGHUP. If it was not, you started it. Right? Were there error > >>messages at any point? Any messages in /var/log/messages? > >>-- > >>Crist J. Clark cjclark@alum.mit.edu > > > >I made the exports file "/cdrom -ro 192.168.0.2" > >portmap was running as a daemon > >mountd was running, but I passed over the SIGHUP part > >Everything seems ok on the server side..... > >I tried again with different ip address (just to make me feel > >comfortable), and this time on the client during the setup I used the ip > >address instead because of lack of name server, so I used "192.168.0.1:/cdrom" > >and this time it returned "Unable to transfer the bin file. Do you want > >to try again." > >Ill try that SIGHUP thing and report back. > Well I tried the SIGHUP thing and I got the same results. This step is required. You have to tell mountd(8) to re-read the exports(5) file whenever changes are made. > I started the install again and these were the errors==> > "Unable to transfer the bin distribution from 192.168.0.1:/cdrom. > Do you want to try to retrieve it again?" > On the second console where all the messages are there was ==> > "mount_nfs: can't update /var/db/mounttab for 192.168.0.1:/cdrom" > Dont know what that 2nd message is about, anyone.......someone, help me??? IIRC, without looking at the source, that is a non-fatal message. Let's determine if the problem is at the server or client. Can the server mount its own exported filesystem? # cat /etc/exports /cdrom -ro -network 192.168.0.0 -mask 255.255.255.0 # kill -HUP `cat /var/run/mountd.pid` # mount 192.168.0.1:/cdrom /mnt And see what happens. Have you been checking /var/log/messages on the server to see what it might be reporting? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message