Re: 2.6.28.9: EXT3/NFS inodes corruption

From: Sylvain Rochet
Date: Tue Aug 04 2009 - 06:50:28 EST


Hi,

On Tue, Jul 28, 2009 at 05:12:15PM -0400, J. Bruce Fields wrote:
> On Tue, Jul 28, 2009 at 06:41:42PM +0200, Sylvain Rochet wrote:
> >
> > [...]
> > May 26 12:34:39 cognac kernel: NFS: Buggy server - nlink == 0!
> > May 26 12:39:43 cognac kernel: NFS: Buggy server - nlink == 0!
> >
> > This is obviously related to the corruption.
>
> It might be interesting to know whether the file that we returned to the
> client with nlink 0 was the same that you later saw corruption on; maybe
> adding a printk of the inode number there would help.
>
> Googling around on that error message, a previous thread:
>
> http://marc.info/?t=107429333300004&r=1&w=4
>
> seems to conclude it's a bug, but doesn't followup with a fix. And I
> don't see any mention of possible filesystem corruption.
>
> Is NFSv4 involved here? I wonder if something that might otherwise be
> only a problem for the client could become a problem for the server if
> it attempts to do further operations with an unlinked inode in a
> compound operation that follows a lookup.

NFSv3 here.

Sylvain

Attachment: signature.asc
Description: Digital signature