From: Ivan Kanis <ivank@wrq.com>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org, nfs-devel@linux.kernel.org
Subject: Re: [BUG] knfsd causes file system corruption when files are locked.
Date: Wed, 15 Nov 2000 18:43:37 -0800 (PST) [thread overview]
Message-ID: <14867.18905.212001.355827@jedi.wrq.com> (raw)
In-Reply-To: <14867.9090.689736.462761@notabene.cse.unsw.edu.au>
In-Reply-To: <14867.6967.292440.394045@jedi.wrq.com> <14867.9090.689736.462761@notabene.cse.unsw.edu.au>
> 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/
next prev parent reply other threads:[~2000-11-16 3:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-15 23:24 Ivan Kanis
2000-11-16 0:00 ` Neil Brown
2000-11-16 2:43 ` Ivan Kanis [this message]
2000-11-16 14:36 ` Trond Myklebust
2000-11-20 18:43 ` Ivan Kanis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14867.18905.212001.355827@jedi.wrq.com \
--to=ivank@wrq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
--cc=nfs-devel@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®