Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2011 18:01:12 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        =?utf-8?Q?Micka=C3=ABl_Can=C3=A9vet?= <canevet@embl.fr>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: "rpc mount export: RPC: Can't decode result" when export list is to long
Message-ID:  <1761895428.1056373.1296255672375.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1296137375.27843.11.camel@pc286.embl.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1761895428.1056373.1296255672375.JavaMail.root>