From owner-freebsd-fs@FreeBSD.ORG Mon Nov 7 00:44:46 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45CCF106566B for ; Mon, 7 Nov 2011 00:44:46 +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 026D48FC15 for ; Mon, 7 Nov 2011 00:44:45 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0EAIApt06DaFvO/2dsb2JhbABDhHqjYoIlgXIBAQEEAQEBICsgCxsOCgICDRkCKQEJJgYIBwQBHASHaaM1kHqBMIIXhE6BFgSIC4l5gh2SCg X-IronPort-AV: E=Sophos;i="4.69,466,1315195200"; d="scan'208";a="144414335" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 06 Nov 2011 19:44:45 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 19574B3F36; Sun, 6 Nov 2011 19:44:45 -0500 (EST) Date: Sun, 6 Nov 2011 19:44:45 -0500 (EST) From: Rick Macklem To: Robert Simmons Message-ID: <1508064123.1257002.1320626685087.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: rpc.umntall error on boot X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 00:44:46 -0000 Robert Simmons wrote: > I'm getting the following error on a new install with NFS: > > kernel: rpc.umntall: > kernel: fileserver: MOUNTPROG: RPC: Program not registered > kernel: > kernel: rpc.umntall: > kernel: localhost: MOUNTPROG: RPC: Program not registered > kernel: > kernel: rpc.umntall: > kernel: fileserver: MOUNTPROG: RPC: Program not registered > > My /etc/rc.conf contains the following: > nfs_server_enable="YES" > nfs_client_enable="YES" > rpcbind_enable="YES" > Well, if your server isn't also a client (doesn't do mounts from other NFS servers), you can just set nfs_client_enable="NO" and the message will go away. Otherwise, I don't know how to get rid of it, but it's pretty harmless. What happens is that /etc/rc.d/nfsclient is executed before /etc/rc.d/mountd. It finds /var/db/mountdtab non-empty and tries to get a port from rpcbind for mountd. Since mountd isn't running yet, so it fails. Since telling the server on the same machine to clear out /var/db/mountdtab for the client is basically meaningless, failing shouldn't be a problem. Although mountd maintains /var/db/mountdtab, it is only used for replying to "showmount" and doesn't affect the function of actual mounts. (The NFS protocol really has no concept of a "mount". The unmount RPC for the mountd protocol just updates /var/db/mountdtab and doesn't affect NFS.) rpc.umntall is just meant to clean up /var/db/mountdtab after a client reboot. rick > and /etc/exports is the following (for testing): > /storage -maproot=root 127.0.0.1 > > Even if I run the NFSv4 experimental server that does not use rpcbind > (so I set it ="NO"), the error is still there. > > This problem does not seem to affect mounting or NFS functions. What > could be causing this error? > > Rob > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"