Use ext3 as a shared fs if I add a lock manager

clusterext3gfs2

I need a cluster filesystem for an iSCSI device. The problem is that the servers to which it is connected generate datafiles which must be read by every other servers. Except for the writing and deleting of such files, I do not need a full locking scheme like in OCFS2 or GFS2.

So, can I use a distributed lock manager (DLM) on top of an ext3 filesystem or must I use only specialized filesystem ?

Best Answer

NO. The main reason is that the filesystem cache is not cluster aware and is not coherent, so you end up mangling your data.

Try mounting the ext3 FS in two boxes, create a file in one box and see if it appears in the other...