[Linux-cluster] Locking in GFS

Chris Joelly chris-m-lists at joelly.net
Fri Sep 19 20:05:54 UTC 2008


i have a question on locking issues on GFS:

how do GFS lock files on the filesystem. I have found one posting to
this list which states that locking occurs "more or less" on file 
level. Is this true? or does some kind of locking occur on directory
level too?

The question arrose because i was thinking on whats would happen when
using GFS on an file server with home directories for lets say 1000
users. how do i setup this directory structure to avoid locking issues
as best as possible.

is a directory layout like the following ok when /home is a GFS file 


thanks Chris

More information about the Linux-cluster mailing list