Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 16:17:10 +0100
From:      =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= <canevet@embl.fr>
To:        Weldon Godfrey <weldon@excelsusphoto.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: "rpc mount export: RPC: Can't decode result" when export list is to long
Message-ID:  <1296141430.27843.16.camel@pc286.embl.fr>
In-Reply-To: <46cfac53-03f5-4f3f-a34a-a4a504af31b0@email.android.com>
References:  <1296137375.27843.11.camel@pc286.embl.fr> <46cfac53-03f5-4f3f-a34a-a4a504af31b0@email.android.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@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
> 


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk1BjHYACgkQZjBmN5Hi/Yb9/gCfcEiTBdg3PV671jmB2rFjL1v3
GlUAoKXkmVwvMDUqMdKLPgHhPskZ+DUY
=MpfQ
-----END PGP SIGNATURE-----
help

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