[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: RPC and NFS more than 16 groups
From: Brooks Davis <brooks () freebsd ! org>
Date: 2010-04-27 21:43:34
Message-ID: 20100427214334.GA69365 () lor ! one-eyed-alien ! net
[Download RAW message or body]
On Tue, Apr 27, 2010 at 09:03:36PM +0000, Knowledge Seeker wrote:
> Hi,
> I made the changes in 2 FreeBSD 8.0 stable boxes. One I've configured one as
> a server and the other as the client.
> But the 16 groups limit persists.
> Even when I tried using a GNU/Linux Debian machine as a client with a Kernel
> patched to work with the number of groups advertised by the server
> (kernel-patch-nfs-ngroups), it does not work.
>
>
> The files and lines changed in FreeBSD src were:
>
> include/rpc/auth_unix.h:#define NGRPS 64
> lib/libc/rpc/PSD.doc/xdr.nts.ms:#define NGRPS 64
> lib/libc/rpc/PSD.doc/xdr.nts.ms:#define NGRPS 64
> sys/rpc/authunix_prot.c:#define NGRPS 64
> sys/rpc/svc_auth_unix.c:#define NGRPS 64
>
> I wish to do that as a temporary solution, once we intend to do a complete
> migration to OpenAFS soon.
> But now, It's really important to have this working.
> Migrate to NFSv4 first, will be too much work, especially on clients. (Only
> the server is a FreeBSD machine)
Realistically you're going to have to dig through the code and find all
the hidden hard codings of 16. I don't know of any exisitng patches.
-- Brooks
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic