From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 27 21:44:51 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 699C2106566B; Tue, 27 Apr 2010 21:44:51 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id DFB568FC18; Tue, 27 Apr 2010 21:44:50 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id o3RLhYNC069592; Tue, 27 Apr 2010 16:43:34 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id o3RLhYSU069591; Tue, 27 Apr 2010 16:43:34 -0500 (CDT) (envelope-from brooks) Date: Tue, 27 Apr 2010 16:43:34 -0500 From: Brooks Davis To: Knowledge Seeker Message-ID: <20100427214334.GA69365@lor.one-eyed-alien.net> References: <20100414023414.GD81708@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 27 Apr 2010 16:43:35 -0500 (CDT) Cc: freebsd-hackers@freebsd.org, Brooks Davis Subject: Re: RPC and NFS more than 16 groups X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 21:44:51 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 Ker= nel > patched to work with the number of groups advertised by the server > (kernel-patch-nfs-ngroups), it does not work. >=20 >=20 > The files and lines changed in FreeBSD src were: >=20 > 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 >=20 > 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. (On= ly > 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 --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFL11qFXY6L6fI4GtQRAsBSAJ9MwzcB/YVqI3cuCBgPpYWzr6qiBACeN+Ym rJrD/WfOm2N3gHcCd4Z3oh0= =ehR8 -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--