[lkml]   [2000]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BUG] knfsd causes file system corruption when files are locked.

> On Wednesday November 15, wrote:
Ivan> [1.] knfsd causes file system corruption when files are locked.
Ivan> [2.] Lock down a file using the NLM_SHARE sharing
Ivan> mechanism. Remove the file. Unlock the file using
Ivan> NLM_UNSHARE. The filesystem does not recover the file space. I
Ivan> am running this on ext2fs. Fsck-ing the filesystem does not
Ivan> help. The only way to recover the space is to reformat the
Ivan> partition.
Ivan> [3.] knfsd, lock, NLM_SHARE, NLM_UNSHARE
Ivan> [4.] Linux version 2.2.16 (root@jedi) (gcc version

>>>>> "Neil" == Neil Brown <> writes:

Neil> Lots of changes have gone into knfsd since 2.2.16. Could
Neil> you please try again with either a later 2.2.18pre kernel,
Neil> or 2.2.16 with patches from
Neil> applied? Thanks.

Neil> Quick guide is:
Neil> 2.2.16
Neil> plus
Neil> plus

Neil> NeilBrown

I can reproduce the bug using:

Linux version 2.2.18pre21 (root@jedi) (gcc version

I don't have to type vers=2 to mount a linux nfs share on Solaris


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.045 / U:5.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site