Files modification time is not updated using GFS2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

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

[root@node1 ~]# echo "hi2" >> /cluster/test
[root@node1 ~]# stat -c "%n %Y %y" /cluster/test
/cluster/test 1214563136 2008-06-27 12:38:56.358790060 +0200
[root@node2 ~]# 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
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux