2003-11-02 14:20:37

by Marc Schmitt

[permalink] [raw]
Subject: bad cookie size 20 (only cookies under 8 bytes are supported.)

Hi all,

I did upgrade yesterday my RedHat 7.3 box (2.4.20-20.7smp) from
nfs-utils 1.0.5 to 1.0.6, after that, messages was full with:

Nov 2 15:02:56 server kernel: lockd: bad cookie size 20 (only cookies
under 8 bytes are supported.)
Nov 2 15:02:56 server kernel: svc: failed to decode args
Nov 2 15:02:57 server kernel: lockd: bad cookie size 20 (only cookies
under 8 bytes are supported.)
Nov 2 15:02:57 server kernel: svc: failed to decode args
Nov 2 15:03:16 server kernel: lockd: bad cookie size 20 (only cookies
under 8 bytes are supported.)

I've never had those messages before, does 1.0.6 require a certain
minimum kernel version (ex. >= 2.4.22)?

TIA

Regards,
Marc



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2003-11-02 17:22:15

by Marc Schmitt

[permalink] [raw]
Subject: Re: bad cookie size 20 (only cookies under 8 bytes are supported.)

Just wanted to add:
On the same token, I did have to move the exported files to a different
partition. Before I did that, I asked all users to log out everywhere,
so that no homes are mounted before I started moving the files. Could it
be that this errors come from clients that try to lock "old" inodes?

Marc Schmitt wrote:

> Hi all,
>
> I did upgrade yesterday my RedHat 7.3 box (2.4.20-20.7smp) from
> nfs-utils 1.0.5 to 1.0.6, after that, messages was full with:
>
> Nov 2 15:02:56 server kernel: lockd: bad cookie size 20 (only cookies
> under 8 bytes are supported.)
> Nov 2 15:02:56 server kernel: svc: failed to decode args
> Nov 2 15:02:57 server kernel: lockd: bad cookie size 20 (only cookies
> under 8 bytes are supported.)
> Nov 2 15:02:57 server kernel: svc: failed to decode args
> Nov 2 15:03:16 server kernel: lockd: bad cookie size 20 (only cookies
> under 8 bytes are supported.)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2003-11-05 03:54:46

by Greg Banks

[permalink] [raw]
Subject: Re: bad cookie size 20 (only cookies under 8 bytes are supported.)

Marc Schmitt wrote:
>
> Hi all,
>
> I did upgrade yesterday my RedHat 7.3 box (2.4.20-20.7smp) from
> nfs-utils 1.0.5 to 1.0.6, after that, messages was full with:
>
> Nov 2 15:02:56 server kernel: lockd: bad cookie size 20 (only cookies
> under 8 bytes are supported.)
> Nov 2 15:02:56 server kernel: svc: failed to decode args
> Nov 2 15:02:57 server kernel: lockd: bad cookie size 20 (only cookies
> under 8 bytes are supported.)
> Nov 2 15:02:57 server kernel: svc: failed to decode args
> Nov 2 15:03:16 server kernel: lockd: bad cookie size 20 (only cookies
> under 8 bytes are supported.)
>
> I've never had those messages before, does 1.0.6 require a certain
> minimum kernel version (ex. >= 2.4.22)?

I sent Trond a patch to fix this in March. It's not your nfs-utils,
somebody on the network started a MacOS X 10.3 NFS client.

Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs