Skip to contentSkip to conversation

rpc.mountd switch not working

DISCUSSION Richard Smits 3 participants 4 messages Sep 5, 2011 – Sep 8, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 22 lines · 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 :

Quoted 8 lines

/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

Quoted 6 lines

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

#2 lore raw
Quoted 33 lines · NeilBrown
Quoted 22 lines · 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 :

Quoted 8 lines

/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 ?

Quoted 7 lines

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

#3 lore raw
Quoted 42 lines · Richard Smits
Quoted 33 lines · NeilBrown
Quoted 22 lines · 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 :

Quoted 8 lines

/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 ?

Quoted 7 lines

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

Quoted 7 lines

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.