Hi all, I'm developing a cluster-aware application which uses files
modification time and locks.
Right now I'm experiencing a weird behaviour using GFS2: files
modification time are not updated from node to node.

# mount | grep gfs2
/dev/mapper/VolGroup01-shared on /cluster type gfs2
(rw,hostdata=jid=0:id=196609:first=0)

[EMAIL PROTECTED] ~]# echo "hi" > /cluster/test
[EMAIL PROTECTED] ~]# stat -c "%n %Y %y" /cluster/test
/cluster/test 1214563066 2008-06-27 12:37:46.198405310 +0200
[EMAIL PROTECTED] ~]# stat -c "%n %Y %y" /cluster/test
/cluster/test 1214563066 2008-06-27 12:37:46.198405310 +0200

[EMAIL PROTECTED] ~]# echo "hi2" >> /cluster/test
[EMAIL PROTECTED] ~]# stat -c "%n %Y %y" /cluster/test
/cluster/test 1214563136 2008-06-27 12:38:56.358790060 +0200
[EMAIL PROTECTED] ~]# stat -c "%n %Y %y" /cluster/test
/cluster/test 1214563066 2008-06-27 12:37:46.198405310 +0200

As you can see the mtime is not updated on the node2 .
I read the most part of the GFS documentation on the redhat website
but I couldn't find any option related to my issue.
The kernel version is 2.6.18-92.1.1.el5 and the system is a CentOS 5.2.

PS. I didn't check this on GFS yet.
-- 
Federico.

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to