Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:61903 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752834Ab1IHPLo (ORCPT ); Thu, 8 Sep 2011 11:11:44 -0400 Message-ID: <4E68DB29.5090005@RedHat.com> Date: Thu, 08 Sep 2011 11:11:37 -0400 From: Steve Dickson To: Richard Smits CC: NeilBrown , linux-nfs@vger.kernel.org Subject: Re: rpc.mountd switch not working References: <4E64C8A0.6020806@tudelft.nl> <20110907160933.2a26ef3a@notabene.brown> <4E687AA8.6000706@tudelft.nl> In-Reply-To: <4E687AA8.6000706@tudelft.nl> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On 09/08/2011 04:19 AM, Richard Smits wrote: > On 09/07/2011 08:09 AM, NeilBrown wrote: >> On Mon, 05 Sep 2011 15:03:28 +0200 Richard Smits wrote: >> >>> Hello, >>> >>> I have a question about the use of the following switch with rpc.mountd. >>> >>> -g or --manage-gids >>> >>> It has come to my attention that the use of this switch is not working >>> well in Redhat v6. When I have a user who has a large group membership, >>> the following errors appear, and the "cd" command hangs. >>> >>> Sep 5 14:50:04 srv043 rpc.mountd[2563]: qword_eol: fflush failed: errno >>> 22 (Invalid argument) >>> >>> Process : >>> >>> root 2563 1 0 14:44 ? 00:00:00 rpc.mountd -g >>> >>> The use of 60 groups is working well, but we have some users with more >>> than 100 groups, and those fails. For uid mapping we use Winbind. >>> >>> /etc/exports : >>> >>> /export server.company.com(rw,no_subtree_check,no_root_squash) >>> >>> Client fstab : >>> >>> server.company.com:/export /data nfs >>> nolock,defaults,user 1 2 >>> >>> Can anyone tell me what this error means ? >> >> Probably means that the redhat package is missing upstream commit >> 9274e94db85bac04e170414cb8e0f4be271cde90 >> (which is from April this year, so not unlikely). >> >> http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=5604b35a61e22930873ffc4e9971002f578e7978 >> >> NeilBrown > > Yes, the nfsd is from april this year, so i think you're right. > > -rwxr-xr-x. 1 root root 19960 Apr 20 19:21 /usr/sbin/rpc.nfsd > > nfs-utils-1.2.3-7.el6.x86_64 > > I wil try to find a solution. Thank you for the information. I just opened up the following bz: https://bugzilla.redhat.com/show_bug.cgi?id=736741 I'll try to get the fix in the next update release... steved.