patch for using >16 groups on 2.6.10 NFSv[23] client
Subsystems (2)
This is the very first release of the many-groups patch for 2.6.x:
http://www.frankvm.com/nfs-ngroups/2.6.10-nfs-ngroups-4.52.patch http://www.frankvm.com/nfs-ngroups/README
For a broken down version of this patch, see:
http://www.frankvm.com/nfs-ngroups/2.6.10/
Quoted 1 line
From the above mentioned README:
Patch version 4.x
=================
Group id cache is gone. At the top NFS layer the group ids of "interesting" file-system objects are collected (max 3, mostly 1) and passed downwards. When an RPC credential is created the new AUTH_UNIX specific unx_add_groups() function will add all the necessary group information. When the number of groups is 16 or lower then it reverts to old behavior. When there is no group id information passed downwards then it reverts to old behavior too. Otherwise, only groups present in _both_ group information passed downwards and the secondary group list will be used for the AUTH_UNIX rpc credential (i.e. group lists are intersected).
The patch has become significantly larger, mostly due to restructuring and some cleanups:
- removed broken_suid mount option.
- reduced the number of rpc_message instantiations.
Also note that NFSv4 is not yet supported. Don't try this with a 2.6.x server because at least 2.6.10 and 2.6.11-rc3 seem to have an NFS ACCESS bug.
BUG REPORTS
-----------
If you think something didn't work as expected then it would be helpful if you mail it and possibly include a relevant section of /var/log/messages after reproducing the problem with
echo 16 >/proc/sys/sunrpc/rpc_debug
echo 17 >/proc/sys/sunrpc/nfs_debug
It is probably best to try to reproduce the problem with the "noac" mount option.
Signature · 11 lines
Frank ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs