From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 02:39:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580B7106566C for ; Wed, 7 Jul 2010 02:39:53 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from constellation.thenetnow.com (constellation.thenetnow.com [207.112.4.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9ED8FC0C for ; Wed, 7 Jul 2010 02:39:52 +0000 (UTC) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANTPC) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1OWKY8-0005Fh-88 for freebsd-questions@freebsd.org; Tue, 06 Jul 2010 22:39:48 -0400 Message-ID: <0785F6B9894A48FBAEDE8EF1EDD75DCE@GRANTPC> From: "Grant Peel" To: References: <93AA3A9E353B402C89F4D9DEC8EC1C3A@GRANTLAPTOP> Date: Tue, 6 Jul 2010 22:39:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Re: FreBSD 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 02:39:53 -0000 ----- Original Message ----- From: "Grant Peel" To: Sent: Tuesday, July 06, 2010 1:07 PM Subject: FreBSD 8 > Hi again all, > > I have just installed FreeBSD 8 on my NFS server. > > The older machines (FreeBSD 6.x) are able to connect to the NFS exports > fine. > > I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, > and the other an R200. Both of these machines had FreeBSD 6.x on them and > were able to connect to the share with no problem. > > The error I am getting is: RPCPROG_NFS: RPC: Program not registered > > I have pretty much memorized the handbook with regards to NFS at this > point: > > On the server, (from the Handbook), all the following are in rc.conf: > > rpcbind_enable="YES" > nfs_server_enable="YES" > mountd_flags="-r" > > On the Clietn(s), the following line is present: > > nfs_client_enable="YES" > > I have tried: > > nfs_reserved_port_only="YES" > and > nfs_reserved_port_only="NO" > > which does not appear to make a difference. > > also, > > start nfsiod -n 4 on the client, does not seem to start (not showing in > the process list anyways, and no console output whn I try to start it. > > FYI, I can ping, ssh etc etc etc through the same IPS as the nfs > server/client use (192.168.0.x). > > If it makes any difference the Server is uing fxp ethernet, and one client > is using em and the other bge. > > I know there's something simple I am missing, but damned if I can find it. > I had the same issue trying to connect using the live filesystem a few > weeks back, so it seems to be something with freebsd 8. (Configuration?). > > Any help appreciated, > > -Grant > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > All, This is now fixed, FWIW, the problem seems to be that the FreeBSD 8 NFS server is only usig UDP when setup as described in the handbook. The FreeBSD 8 clients were looking for tcp. Hence the error: "[tcp] RPCPROG_NFS: RPC: Program not registered" Once I added: nfs_server_flags="-t -u -h 192.168.0.4 -n 15" to the nfs server rc.conf, and rebooted it, the clients connected first try. If I am still missing something, feel free to comment. -Grant