"rpc mount export: RPC: Can't decode result" when export list
is to long
Mickaël Canévet
canevet at embl.fr
Thu Jan 27 15:17:07 UTC 2011
Hi,
Thank you for you quick answer.
I tested with 'sysctl vfs.nfsrv.maxthreads=20' and even 'sysctl
vfs.nfsrv.maxthreads=1000' (though I'm not sure it's reasonable), but I
still have the problem. Moreover, sysctl vfs.nfsrv.threads stays to 4
(maybe it goes up, then down before I can notice anything)...
I noticed that if I wait a few minutes, showmount -e works once, then
fails again.
Somebody has another idea ?
Mickaël
On Thu, 2011-01-27 at 08:50 -0600, Weldon Godfrey wrote:
> did you up maxthreads for nfs on the server? the default us only 4. there is a sysctl tunable. you can change it without restarting server or nfsd and will take effect. place it in /etc/sysctl.conf so it does it at bootup
>
> "Mickaël Canévet" <canevet at embl.fr> wrote:
>
> >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 ?
> >
> >Thank you,
> >Mickaël
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110127/dffe871c/attachment.pgp
More information about the freebsd-fs
mailing list