modification times of some directories changed

Kenneth Waegeman kenneth.waegeman at ugent.be
Fri Jul 10 09:35:04 UTC 2015


Hi all,

We did an rsync of a filesystem using 'rsync -a' to another filesystem
(from gpfs snapshot to cephfs to be precise).
I was now checking this sync and saw some strange results: A lot of the
directories have the timestamp of the sync, and not the original one.
But there are also a lot directories which have correct timestamps. All 
files have the right timestamp, so it is only an issue with directories.
I checked another fs sync (but also gpfs to ceph) , and I've seen the
same thing there.
If I look to the access times, the 'wrong' dirs have an access time
before the 'good' ones..

   File: ‘okdir’
   Size: 295652    	Blocks: 1          IO Block: 4096   directory
Device: 23h/35d	Inode: 1099549838973  Links: 1
Access: (0755/drwxr-xr-x)  Uid: (2540003/ UNKNOWN)   Gid: (2540003/ UNKNOWN)
Access: 2015-05-23 18:05:10.543735826 +0200
Modify: 2014-07-07 11:19:28.000000000 +0200
Change: 2015-05-23 18:05:10.551767386 +0200
  Birth: -

   File: ‘strangedir’
   Size: 5051975   	Blocks: 1          IO Block: 4096   directory
Device: 23h/35d	Inode: 1099549838972  Links: 1
Access: (0755/drwxr-xr-x)  Uid: (2540003/ UNKNOWN)   Gid: (2540003/ UNKNOWN)
Access: 2015-05-23 18:04:12.553736857 +0200
Modify: 2015-05-23 18:05:08.658093700 +0200
Change: 2015-05-23 18:05:08.658093700 +0200

Someone an idea what has happened here? Or how I could debug this?

Thanks in advance!

Kenneth





More information about the rsync mailing list