Stephan von Krawczynski
2009-Jul-27 13:40 UTC
[Gluster-users] mtime handling seems generally buggy for directories
Hello again, as stated earlier there is a problem with mtime setting on directories during healing in replication setup. Today I tested 2.0.5 and found out that the handling is more or less generally buggy for directory mtimes. Simply try this: untar some kernel archive on your local disk and look at the mtime of the created top directory. now untar the same archive on an exported gluster fs and compare the mtimes. You will find out that mtime on gluster fs is generally not set (by tar), not only during a healing process. Obviously this is a bug, easy to reproduce. -- Regards, Stephan
Vikas Gorur
2009-Jul-28 10:32 UTC
[Gluster-users] mtime handling seems generally buggy for directories
----- "Stephan von Krawczynski" <skraw at ithnet.com> wrote:> Hello again,> Simply try this: > untar some kernel archive on your local disk and look at the mtime of > the created top directory. now untar the same archive on an exported > gluster fs and compare the mtimes.> You will find out that mtime on gluster fs is generally not set (by > tar), not only during a healing process. Obviously this is a bug, easy to > reproduce.I tried this just now and tar sets the mtime correctly for me on an mtime mount. Can you reproduce -- Engineer - http://gluster.com/
Vikas Gorur
2009-Jul-28 10:34 UTC
[Gluster-users] mtime handling seems generally buggy for directories
----- "Stephan von Krawczynski" <skraw at ithnet.com> wrote:> Simply try this: > untar some kernel archive on your local disk and look at the mtime of > the created top directory. now untar the same archive on an exported gluster fs > and compare the mtimes.> You will find out that mtime on gluster fs is generally not set (by > tar), not only during a healing process. Obviously this is a bug, easy to > reproduce.I tried it just now and mtime seems to be set properly for me. Can you run both server and client in TRACE log level and reproduce this? Also please send us both client and server log files and an strace dump of the tar extraction (you might want to pick a very small archive so that the strace isn't too big). (Sorry for previous mail - hit send instead of save to drafts). Vikas -- Engineer - http://gluster.com/