"rpc mount export: RPC: Can't decode result" when export list is to long

Rick Macklem rmacklem at uoguelph.ca
Fri Jan 28 23:01:13 UTC 2011


> 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


More information about the freebsd-fs mailing list