Hi all, we are using OCSF2 in 2 SUSE SLES10 SP1 boxes. We are running xen on these boxes and we have configured ocfs2 as the filesystem to contain the images of our virtual machines. We have a problem with the last modified file date in ocfs2. Executing ls -la command in the boxes we have the following result: BOX1: ls -la /ocfs-filesystem/hda: -rw------- 1 root root 18253611008 Oct 22 14:33 /ocfs-filesystem/hda BOX2: ls -la /ocfs-filesystem/hda: -rw------- 1 root root 18253611008 Oct 8 19:52 /ocfs-filesystem/hda The positive thing is that if I do the md5sum of the file in the two boxes the result is the same. Is this a bug? Is there any patch to fix it? Thanks in advance - Miguel -- -------------------------------------------- Miguel Molowny Lopez CASPUR Inter-Univ. Computing Consortium Tel: (0039) 06/44486404 E-mail: Miguel.Molowny@caspur.it --------------------------------------------
Could be that those writes are odirect. We avoid updating the mtime on non-extending odirect writes so as to avoid a performance hit. This is documented in the ocfs2 faq. Miguel Molowny Lopez wrote:> Hi all, > we are using OCSF2 in 2 SUSE SLES10 SP1 boxes. > We are running xen on these boxes and we have configured ocfs2 as the > filesystem to > contain the images of our virtual machines. > > We have a problem with the last modified file date in ocfs2. > > Executing ls -la command in the boxes we have the following result: > > BOX1: ls -la /ocfs-filesystem/hda: > -rw------- 1 root root 18253611008 Oct 22 14:33 /ocfs-filesystem/hda > BOX2: ls -la /ocfs-filesystem/hda: > -rw------- 1 root root 18253611008 Oct 8 19:52 /ocfs-filesystem/hda > > The positive thing is that if I do the md5sum of the file in the two > boxes the result is the same. > Is this a bug? > Is there any patch to fix it? > > Thanks in advance - Miguel >