All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nix <nix@esperi.org.uk>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: persistent, quasi-random -ESTALE at mount time
Date: Fri, 01 Oct 2010 23:41:42 +0100	[thread overview]
Message-ID: <87zkux5ye1.fsf@spindle.srvr.nix> (raw)
In-Reply-To: <20101001220018.GE1472@fieldses.org> (J. Bruce Fields's message of "Fri, 1 Oct 2010 18:00:18 -0400")

On 1 Oct 2010, J. Bruce Fields spake thusly:

> On Thu, Sep 23, 2010 at 10:03:36PM +0100, Nix wrote:
>> I'll say.
>
> Sorry for the slow response; have you figured out anything more?

Not yet. I try not to reboot the server except at weekends... I'll
try to hook things up with a more rebootable machine as an NFS
server (perhaps via qemu) so I can look into this without so much
disruption.

>> I flipped RPC debug on and rebooted the client next. The server said:
>> 
>> Sep 23 21:33:15 spindle warning: [  127.385537] RPC:       Want update, refage=120, age=0
>> Sep 23 21:33:15 spindle warning: [  127.536779] RPC:       Want update, refage=120, age=0
>> [repeated 40 times]
>> 
>> When it connected, the server said
>> 
>> Sep 23 21:34:23 spindle warning: [  195.696257] RPC:       Want update, refage=120, age=68
> ...
>> Sep 23 21:34:38 spindle warning: [  210.766205] RPC:       Want update, refage=120, age=83
>> 
>> Now, the rpc/*/content files had grown again, and even the -ESTALEd
>> filesystems, like /home/.spindle.srvr.nix, are represented once more:
>
> I'm a little confused.  Are you saying that in this case the client did
> get ESTALE's?

Yes. Bizarre, isn't it? -ESTALE, but here the filesystems are! Note that
if you try to reboot again, you still get -ESTALE: only restarting
rpc.mountd seems to fix it.

>> I restarted rpc.mountd and the client, so it mounted correctly. Here's a
>
> And then here the problems was cleared and you didn't see any more of
> them?

Yes, until the server got rebooted again.

I mean, yes, we can work around it by killing rpc.mountd and restarting
it as soon as the server has booted, but, well, yuck, no thanks, too
much of a kludge. I'll have a concentrated hunt for the bug soon (once I
can reproduce it without rebooting the single largest machine I have
root on!)

  reply	other threads:[~2010-10-01 22:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-21 20:28 persistent, quasi-random -ESTALE at mount time Nix
2010-09-22 15:52 ` J. Bruce Fields
2010-09-23 21:03   ` Nix
2010-10-01 22:00     ` J. Bruce Fields
2010-10-01 22:41       ` Nix [this message]
2010-10-01 23:11         ` J. Bruce Fields
2010-12-17 20:45           ` Nix
2010-12-24 18:27             ` J. Bruce Fields
  -- strict thread matches above, loose matches on Subject: below --
2011-02-02  3:56 George Spelvin
2011-02-03  3:48 ` J. Bruce Fields
2011-02-03  4:28   ` George Spelvin
2011-02-03  4:37     ` J. Bruce Fields
2011-02-03  4:40     ` J. Bruce Fields
2011-02-03  8:30       ` Nix
2011-02-03 13:40         ` J. Bruce Fields
2011-02-06 18:54           ` Nix
     [not found]             ` <87sjw156yx.fsf-AdTWujXS48Mg67Zj9sPl2A@public.gmane.org>
2011-02-06 19:23               ` J. Bruce Fields
     [not found]     ` <AANLkTinUMeTowsWtxFm+Ga_ChVztWuUNe6na_Tq+F2==@mail.gmail.com>
2011-02-06 19:31       ` J. Bruce Fields

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=87zkux5ye1.fsf@spindle.srvr.nix \
    --to=nix@esperi.org.uk \
    --cc=bfields@fieldses.org \
    --cc=linux-nfs@vger.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 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.