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

> On Wednesday November 15, ivank@wrq.com wrote:
Ivan> [1.] knfsd causes file system corruption when files are locked.
Ivan>
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>
Ivan> [3.] knfsd, lock, NLM_SHARE, NLM_UNSHARE
Ivan>
Ivan> [4.] Linux version 2.2.16 (root@jedi) (gcc version 2.7.2.3)


>>>>> "Neil" == Neil Brown <neilb@cse.unsw.edu.au> 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> http://nfs.sourceforge.net/
Neil> applied? Thanks.

Neil> Quick guide is:
Neil> 2.2.16
Neil> plus
Neil> http://www.fys.uio.no/~trondmy/src/nfsv3-old/linux-2.2.16-nfsv3-0.22.0.dif.bz2
Neil> plus
Neil> http://download.sourceforge.net/nfs/kernel-nfs-dhiggen_merge-2.0.gz

Neil> NeilBrown

I can reproduce the bug using:

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

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

Ivan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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