Re: NFS, Paging & Installing [was: Re: Swap]

From: Mike Fedyk (mfedyk@matchmail.com)
Date: Fri Nov 23 2001 - 14:33:57 EST


On Wed, Nov 21, 2001 at 11:55:07AM +0100, Trond Myklebust wrote:
> >>>>> " " == Mike Fedyk <mfedyk@matchmail.com> writes:
>
> > On Tue, Nov 20, 2001 at 10:22:58PM -0300, Horst von Brand
> > wrote:
> >> Mike Fedyk <mfedyk@matchmail.com> said:
> >> > Do any newer versions of NFS fix the stateless server
> >> > problem?
> >>
> >> This is an _extremely_ hard problem: The server has to know
> >> somehow what the client thinks the state is... and either one
> >> (or both) may have been rebooted in between without the other
> >> one knowing.
>
> > Yep, but there are currently protocols (SMB) that do that, but
> > not necessarily in a unix way.
>
> <Cough, choke>
>
> Exactly how, pray tell, does SMB cope with recovering the full state
> info after client/server crashes?
>

No, I wasn't claiming that SMB will recover from a server crash gracefully.
If your SMB server goes down (upgrade being likely with samba instead of
crash...) for whatever reason, any open file connections are hosed.

I was just stating that there are Network FSes that are stateful, and work
good when the server stays up.

As stated by Alan, you can make a stateful Net FS that deals gracefully with
crash recovery, it's just harder.

Also, SMB deals with crashed clients pretty well most of the time by
querying the client with the write lock to see if it's still there...

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



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:34 EST