Skip to contentSkip to conversation

NFS as a Cluster File System.

DISCUSSION Lorn Kay 3 participants 4 messages Jan 9, 2003 – Jan 12, 2003

Subsystems (2)
lore
Share & tools
lore

Lorn Kay

author
#0 lore raw
Quoted 10 lines

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 <[email protected]>

"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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Lorn Kay <[email protected]> writes:

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

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

#2 lore raw
Quoted 4 lines

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

Nope. It can only be resolved using file locking.

There are 2 consistency problems: metadata and data.

Metadata is solved by noac. And yes, some MPI programs do things like "node 0 writes out a bunch of files, then tells all the other nodes to read one file each." This means that you have about 1/100 of a second window between creation on one client and reading on a different client.

Data consistency is solved by file locking.

-- greg

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

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Greg Lindahl <[email protected]> writes:

> Metadata is solved by noac.

Nope. 'noac' doesn't even do that for you:

'noac' just increases the frequency of GETATTR calls. It will not suffice to provide consistent metadata for those operations that actually depend on the returned values, as there will be no atomicity guarantees between the GETATTR call and the subsequent READ/WRITE/READDIR/...

A common example where this is relevant: You have absolutely no guarantee with 'noac' that open("foo",O_APPEND,O_WRONLY), will work as expected.

So, again I repeat: File locking is the only way to ensure cache coherency.

Cheers,
Trond

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