2011-09-05 13:03:31

by Richard Smits

[permalink] [raw]
Subject: rpc.mountd switch not working

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 ?

Greetings .. Richard Smits


2011-09-08 15:11:44

by Steve Dickson

[permalink] [raw]
Subject: Re: rpc.mountd switch not working



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<[email protected]> 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.

2011-09-08 08:19:56

by Richard Smits

[permalink] [raw]
Subject: Re: rpc.mountd switch not working

On 09/07/2011 08:09 AM, NeilBrown wrote:
> On Mon, 05 Sep 2011 15:03:28 +0200 Richard Smits<[email protected]> 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.

Greetings .. Richard

2011-09-07 06:09:45

by NeilBrown

[permalink] [raw]
Subject: Re: rpc.mountd switch not working

On Mon, 05 Sep 2011 15:03:28 +0200 Richard Smits <[email protected]> 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


>
> Greetings .. Richard Smits
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html