2007-11-16 10:14:04

by Gianluca Alberici

[permalink] [raw]
Subject: NFS Bug in 2.6.23 ?

Hello,

Got problems with CFS after a kernel upgrade from 2.6.20 to 2.6.23.
After a certain amount of time since cattach i get:

ios:~$ ls /opt/clear/
ls: /opt/clear/: Not a directory

stracing the command i get stat64() returning ENOTDIR.
Applications won't find the directory.

If i cd into it and ls it is like doing a refresh: everything works
again for a certain amount of time, then, again. It reminds me an old
version of CFS which used to claim: 'stale NFS file handle'.

I didnt see any NFS changes in the changeslog of 2.6.23.1 so i decided
to POST.

SOmebody can help ?

TIA

Gianluca



2007-11-16 14:16:42

by Trond Myklebust

[permalink] [raw]
Subject: Re: NFS Bug in 2.6.23 ?


On Fri, 2007-11-16 at 10:27 +0100, Gianluca Alberici wrote:
> Hello,
>
> Got problems with CFS after a kernel upgrade from 2.6.20 to 2.6.23.
> After a certain amount of time since cattach i get:
>
> ios:~$ ls /opt/clear/
> ls: /opt/clear/: Not a directory
>
> stracing the command i get stat64() returning ENOTDIR.
> Applications won't find the directory.
>
> If i cd into it and ls it is like doing a refresh: everything works
> again for a certain amount of time, then, again. It reminds me an old
> version of CFS which used to claim: 'stale NFS file handle'.
>
> I didnt see any NFS changes in the changeslog of 2.6.23.1 so i decided
> to POST.
>
> SOmebody can help ?

Can you send a binary tcpdump illustrating the problem?

tcpdump -s 9000 -w /tmp/dump.out host cfs-servername

and then run your test...

Cheers
Trond