All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4 NFS file corruption
Date: 26 Apr 2003 18:44:44 +0200	[thread overview]
Message-ID: <shsadedrywz.fsf@charged.uio.no> (raw)
In-Reply-To: <Pine.LNX.4.44.0304261742200.18264-100000@pc40.e18.physik.tu-muenchen.de>

>>>>> " " == Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de> writes:

     > Dear experts!  I'm seeing very strange file corruption, with
     > parts of the data (most of the bytes, actually) being correct,
     > but some being 0x00 and others (few) being something else. The
     > strangest thing however is that this affected exactly the
     > complete first 4kB page of the file.

     > The server and clients run CERN RedHat 7.3.2, which is based on
     > RedHat 7.3 and has a 2.4.18 kernel with patches upto the
     > 2.4.21-pre5 range. If you need the list of patches I can look
     > it up and will happily supply it.

AFAICS, the CERN 2.4.18-27.7.x doesn't appear to have any NFS patches
in it beyond the standard 2.4.18 + the IRIX patch (i.e. it is
identical to the RedHat kernel as far as NFS is concerned).

As such it is missing a good deal of NFS client bugfixes, including
the close-to-open patches which are important when you are updating
files centrally on a server.

It probably isn't the cause of problems here though (if I read the
section below correctly).

     > 1) copy the file onto the server's exported directory
     > 2) create a symlink to it from the same directory
     > 3) execute the file
     > 4) process crashes, gets restated (repeatedly, because of
     >    corruption)
     > 5) machine is rebooted, everything works fine for several hours
     > 6) restart at 4)

     > While in this circle, the file was overwritten several times
     > with updated versions.

You are updating an executable while the clients are running it??? 
Bad! That is not meant to work...

Cheers,
  Trond

  reply	other threads:[~2003-04-26 16:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-26 16:12 2.4 NFS file corruption Roland Kuhn
2003-04-26 16:44 ` Trond Myklebust [this message]
2003-04-26 16:59   ` Roland Kuhn
2003-04-26 17:40     ` Trond Myklebust

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=shsadedrywz.fsf@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rkuhn@e18.physik.tu-muenchen.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.