I don't know if NFSv4 improved the situation at all. 

So you can do something like this to test it:

flock -x /nfsv4/file -c "sleep 10; echo hello >> /nfsv4/file" &
flock -x /nfsv4/file -c "echo world >> /nfsv4/file" #10 sec delay

The second command won't execute until the first one releases it's
lock. 

Remove the sleep and loop it repeatedly across for multiple clients, and
look for errors in the NFS logs.

On Tue, 2008-11-11 at 18:20 -0500, John McKelvey wrote:
> Folks,
> 
> I have a code that is supposed to be able to be run in parallel, but
> not using NFS!  Any thoughts about trying NFS-V4 and whether file
> locking [i.e. protection] is handled better?
> 
> Cheers!
> 
> John McKelvey 
> _______________________________________________
> Fwlug mailing list
> [email protected]
> http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org


_______________________________________________
Fwlug mailing list
[email protected]
http://fortwaynelug.org/mailman/listinfo/fwlug_fortwaynelug.org

Reply via email to