From owner-freebsd-stable@FreeBSD.ORG Tue Mar 30 14:31:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89ADE106567B for ; Tue, 30 Mar 2010 14:31:54 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA078FC18 for ; Tue, 30 Mar 2010 14:31:53 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHyosUuDaFvH/2dsb2JhbACbLnG/VoUABA X-IronPort-AV: E=Sophos;i="4.51,334,1267419600"; d="scan'208";a="70496129" Received: from danube.cs.uoguelph.ca ([131.104.91.199]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 30 Mar 2010 10:31:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 83DF810845DB; Tue, 30 Mar 2010 10:31:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at danube.cs.uoguelph.ca Received: from danube.cs.uoguelph.ca ([127.0.0.1]) by localhost (danube.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2T8CCA1ZYBCh; Tue, 30 Mar 2010 10:31:52 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by danube.cs.uoguelph.ca (Postfix) with ESMTP id 0445A10845D6; Tue, 30 Mar 2010 10:31:52 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o2UEj9J23159; Tue, 30 Mar 2010 10:45:09 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Tue, 30 Mar 2010 10:45:09 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: Jeremy Chadwick In-Reply-To: <20100329165647.GA3796@icarus.home.lan> Message-ID: References: <20100329165647.GA3796@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Strange NFS-related messages (related to lockd/statd) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2010 14:31:54 -0000 On Mon, 29 Mar 2010, Jeremy Chadwick wrote: > I recently brought up rpc.lockd and rpc.statd on all of our NFS clients > (mixed RELENG_6, RELENG_7, and RELENG_8), and our NFS server (RELENG_8). > > All clients had nfs_client_enable="yes" in rc.conf prior to their last > reboot, but lacked rpcbind_enable="yes", rpc_lockd_enable="yes", and > rpc_statd_enable="yes" prior to the below. > > The 8.x clients started rpcbind, rpc.lockd, rpc.statd -- then said: > > NLM: failed to contact remote rpcbind, stat = 0, port = 0 > Can't start NLM - unable to contact NSM > > The 7.x clients started rpcbind, rpc.lockd, rpc.statd -- then said: > > Can't start NLM - unable to contact NSM > Oh, I forgot to mention..I can't help much, but these protocols/daemons are SunRPC, so they will be using portmapper (now called rpcbind) to get port #s assigned dynamically. I also believe (not sure, don't know much about it) that the NSM will poll for other machines, so it needs to be able to talk to all clients and server(s), including doing IP broadcast that gets to them all. (These were designed in the 1980s for a LAN, which was just a chunk of coax in those days:-) Hope this helps, rick