All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Re: NFS as a Cluster File System.
@ 2003-01-10 14:51 Lever, Charles
  2003-01-10 15:23 ` Brian Tinsley
  0 siblings, 1 reply; 19+ messages in thread
From: Lever, Charles @ 2003-01-10 14:51 UTC (permalink / raw)
  To: 'Brian Tinsley', Lorn Kay; +Cc: nfs, linux-ha

> -----Original Message-----
> From: Brian Tinsley [mailto:btinsley@emageon.com] 
> Sent: Thursday, January 09, 2003 4:11 PM
> To: Lorn Kay
> Cc: nfs@lists.sourceforge.net; linux-ha@muc.de
> Subject: [NFS] Re: NFS as a Cluster File System.
>
> >     Linux clients can use TCP instead of UDP.
> 
> Although I haven't had problems with this in our lab, I 
> believe the NFS authors still consider this experimental.

the Linux NFS client support for TCP is not experimental.
perhaps less mature than UDP, but definitely not experimental.

the server, OTOH, sports brand new support for TCP.  is that
what you were referring to?


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: Re: NFS as a Cluster File System.
@ 2003-01-14 16:01 Lever, Charles
  0 siblings, 0 replies; 19+ messages in thread
From: Lever, Charles @ 2003-01-14 16:01 UTC (permalink / raw)
  To: 'Neil Brown', Alan Robertson; +Cc: Lorn Kay, nfs, linux-ha

> On Thursday January 9, alanr@unix.sh wrote:
> > 
> > NFS V3 and before have problems with "cache coherency".  
> That is, the
> > different nodes in the cluster are not guaranteed to see 
> the same contents.
> > 
> > I think this is supposed to be fixed in v4.
> > 
> 
> NFSv4 does not try to "fix" this.  It makes no attempts at 
> "cache coherency" beyond what NFSv2/3 provide which is "close 
> to open" cohenrence, meaning that if only one process has a 
> file open at a time, then everythnig will appear coherent, 
> and if multiple processes have the file open at the same 
> time, they need to use record locking.

well, coherency is partially addressed in NFSv4 with delegations.
a server can delegate a file to a client, allowing the client
to cache the file and trust that the server will notify it when
another client wants to access the file (read or write).

for an aggressively shared file, this doesn't perform well, but
NFS has always assumed that there is little concurrent sharing
of files.

this paradigm probably doesn't fit well with typical file
usage in clusters, where files are very very large, and many
nodes may be working on independent pieces of the same file
at the same time.  in that case, record locking might be
best.  however, on Linux, the client purges the entire file
from its cache when a file is locked, rather than just the
areas that were byte-range locked.


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Re: NFS as a Cluster File System.
@ 2003-01-10 17:19 Lorn Kay
  2003-01-12 21:29 ` Trond Myklebust
  0 siblings, 1 reply; 19+ messages in thread
From: Lorn Kay @ 2003-01-10 17:19 UTC (permalink / raw)
  To: trond.myklebust; +Cc: alanr, nfs, linux-ha

>
>     >> NFS V3 and before have problems with "cache coherency".  That
>     >> is, the different nodes in the cluster are not guaranteed to
>     >> see the same contents.
>
>      > I think this can be resolved with the "noac" mount option
>      > (prior to V4).
>
>Nope. It can only be resolved using file locking.
>
>Cheers,
>   Trond
>

Meaning if you don't lock a file and just read it you may not see the what 
another client has written to it, or is that not an issue because the other 
client will have locked and then unlocked the file when it is done making 
changes?

Thanks,

--K

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: NFS as a Cluster File System.
@ 2003-01-09 23:13 Lorn Kay
  2003-01-09 23:45 ` Donavan Pantke
  0 siblings, 1 reply; 19+ messages in thread
From: Lorn Kay @ 2003-01-09 23:13 UTC (permalink / raw)
  To: lmb, nfs, linux-ha


>However, it is NOT a "CFS", which people commonly use to refer to a 
>filesystem
>which is distributed and usually shares the same storage system connected 
>to
>all nodes.
>
>I believe there might be a confusion of words here ;-)
>
>
>Sincerely,
>     Lars Marowsky-Brée <lmb@suse.de>

Sorry, still confused about what a "CFS" really is. In "In Search Of 
Clusters" Gregory Pfister takes the position that a distributed file system 
is what he calls a valid "single system image" file system, what I would 
take to mean a cluster file system (though he doesn't use those words).

I guess you are saying a clustered file system isn't necessarily supporting 
a cluster of application servers but is itself stored on a cluster. (A 
single server can be the only server using a cluster file system.) ?

--K



_________________________________________________________________
Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: Re: NFS as a Cluster File System.
@ 2003-01-09 22:51 Lorn Kay
  2003-01-10 15:01 ` Trond Myklebust
  0 siblings, 1 reply; 19+ messages in thread
From: Lorn Kay @ 2003-01-09 22:51 UTC (permalink / raw)
  To: alanr; +Cc: nfs, linux-ha

>NFS V3 and before have problems with "cache coherency".  That is, the 
>different nodes in the cluster are not guaranteed to see the same contents.
>
>I think this is supposed to be fixed in v4.
>
>
>--
>     Alan Robertson <alanr@unix.sh>
>
>"Openness is the foundation and preservative of friendship....  Let me 
>claim from you at all times your undisguised opinions." - William 
>Wilberforce
>

I think this can be resolved with the "noac" mount option (prior to V4).

--K




_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
http://join.msn.com/?page=features/virus



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 19+ messages in thread
* NFS as a Cluster File System.
@ 2003-01-09 19:39 Lorn Kay
  2003-01-09 21:11 ` Brian Tinsley
  2003-01-09 21:29 ` Alan Robertson
  0 siblings, 2 replies; 19+ messages in thread
From: Lorn Kay @ 2003-01-09 19:39 UTC (permalink / raw)
  To: nfs, linux-ha


Is NFS a viable CFS? (I'm cross posting this due to a discussion on the the 
linux-ha list recently.)

NFS has a bad reputation probably due to (at least) the following:

	It has been used in networking environments where different server hardware 
configurations (NICS, drivers, etc.) running different operating systems 
have connected to each other (in many-to-many configurations).

	It “grew up” on networks that were perhaps unstable, or immature 
(“Someone’s kicked the token ring coax cable laying on the floor again”) 
long before switches were common place, and the network was loaded down with 
all kinds of network traffic.

	It wasn’t understood very well. Since the default mount options worked, 
system administrators often didn’t fully understand the ramifications of 
their NFS client mount option choices.

	It relied on UDP, which is susceptible to huge retransmission efforts on 
noisy or lossy networks.

	NFS was used over many-hop WAN connections.

	NFS servers were often used for many other tasks, not just NFS.


A cluster configuration, however, offers several advantages over the typical 
NFS configuration:

	All NFS clients (the cluster nodes) run the same operating system (Linux).

	All clients run the same version of NFS and the kernel.

	All clients use the same network tuned configuration.

	A physical network can be dedicated to NFS. (Using a high quality switch, 
with short data-center-only cable runs.)

	All clients connect to one NFS server.

	The NFS server is a high-quality dedicated machine (Net App, EMC, etc.)

	Only one mount point need be used with one set of mount options.

	Linux clients can use TCP instead of UDP.

Except for the vagaries of the load placed on the cluster nodes, this sounds 
like a test lab environment. If NFS can’t work in this environment where 
will it ever work?

--K






_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2003-01-14 16:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 14:51 Re: NFS as a Cluster File System Lever, Charles
2003-01-10 15:23 ` Brian Tinsley
  -- strict thread matches above, loose matches on Subject: below --
2003-01-14 16:01 Lever, Charles
2003-01-10 17:19 Lorn Kay
2003-01-12 21:29 ` Trond Myklebust
2003-01-09 23:13 Lorn Kay
2003-01-09 23:45 ` Donavan Pantke
2003-01-09 22:51 Lorn Kay
2003-01-10 15:01 ` Trond Myklebust
2003-01-10 17:38   ` Greg Lindahl
2003-01-12 21:23     ` Trond Myklebust
2003-01-09 19:39 Lorn Kay
2003-01-09 21:11 ` Brian Tinsley
2003-01-09 22:04   ` Brian Jackson
2003-01-09 23:02     ` Brian Tinsley
2003-01-09 21:29 ` Alan Robertson
2003-01-13 19:36   ` Neil Brown
2003-01-13 20:25     ` David B. Ritch
2003-01-13 20:40       ` Neil Brown
2003-01-13 20:50         ` David B. Ritch
2003-01-13 22:11           ` Neil Brown
2003-01-14 15:46     ` Trond Myklebust
2003-01-14 16:01       ` Kumaran Rajaram
2003-01-14 16:08         ` Trond Myklebust

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.