> What I'd like to do is allow both motherboards to be able to read and
> write to a shared area of the array. Obviously 2 seperate systems writing
> to the same file at the same time would be a bad thing. So I need some
> sort of machine independant file system locking.
Both boards may mount the same filesystem read-only. There is no
problems
with that.
Writers need exclusive access though, unless you use a filesystem
designed for this purpose. So board 1 must umount a shared
partition completely before board 2 can mount it for writing.
Board 2 will then need to umount its writeable mount before
board 1 can mount for reading again (or writing).
You can automate this with "rsh" or similiar tools.
Note that the restriction is on filesystems, not entire
disks. So you may have a shared disk with one
partition writeable by board 1, another writeable by
board 2, and a third readable by both, all at
the same time.
Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:26 EST