From owner-freebsd-fs@FreeBSD.ORG Fri Jan 28 23:01:13 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 B27961065670 for ; Fri, 28 Jan 2011 23:01:13 +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 6F7598FC12 for ; Fri, 28 Jan 2011 23:01:13 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAP3ZQk2DaFvO/2dsb2JhbACEFKFiqxqQZ4Ejgzh0BIUYhw8 X-IronPort-AV: E=Sophos;i="4.60,394,1291611600"; d="scan'208";a="108863611" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 28 Jan 2011 18:01:12 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 6A67BB3F95; Fri, 28 Jan 2011 18:01:12 -0500 (EST) Date: Fri, 28 Jan 2011 18:01:12 -0500 (EST) From: Rick Macklem To: =?utf-8?Q?Micka=C3=ABl_Can=C3=A9vet?= Message-ID: <1761895428.1056373.1296255672375.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <1296137375.27843.11.camel@pc286.embl.fr> 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 - IE8 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: "rpc mount export: RPC: Can't decode result" when export list is to long 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: Fri, 28 Jan 2011 23:01:13 -0000 > Hi, > > I have a configured a FreeBSD 8.2RC2 exporting 200+ ZFS volumes with > NFS. If I just set sharenfs="on" on server, I can do a 'showmount -e' > on > my Client (CentOS 5.5), but if a put a list of 7 or more hosts in the > sharenfs command, the 'showmount -e' on the client returns "rpc mount > export: RPC: Can't decode result" and so automount does not work. > > Is there some kind of limitation of export list ? > Well, "showmount -e" queries the server's mountd. I don't know of a limitation (except maybe the maximum size of a UDP datagram), but as far as I am aware, it will only report entries in /etc/exports. Your email would suggest otherwise and since I'm not up to speed w.r.t. how ZFS's sharenfs command works, I can't help... You might want to try putting the exported file systems in /etc/exports instead. I'm also a bit surprized that automount cares what the mountd protocol thinks is exported but, again, I'm not up to speed on what automount actually does. Sorry I can't be of more help, rick