Why does rsync to a prod cluster create a destination directory with a different timestamp?
Issue
- How does gluster know which directory timestamp it should use?
[node1 ~]# stat /mnt/p2p/tests
File: `/mnt/p2p/tests'
Size: 4096 Blocks: 8 IO Block: 1048576 directory
Device: 1dh/29d Inode: 13688145550629221525 Links: 7
Access: (0775/drwxrwxr-x) Uid: ( 1000/ UNKNOWN) Gid: ( 1000/ UNKNOWN)
Access: 2014-03-14 06:23:04.000000000 +0000
Modify: 2013-08-18 23:31:07.000000000 +0000 ---------> Here!
Change: 2014-03-14 06:23:04.993003593 +0000
[node1 ~]# rsync -av tests /mnt/p2p/
sending incremental file list
------------------------> Observe!!!
sent 3603 bytes received 22 bytes 7250.00 bytes/sec
total size is 256703 speedup is 70.81
[node1 ~]# rsync -av tests /mnt/p2p/
sending incremental file list
tests/ -----------------> Observe
sent 3606 bytes received 25 bytes 7262.00 bytes/sec
total size is 256703 speedup is 70.70
[node1 ~]# stat /mnt/p2p/tests
File: `/mnt/p2p/tests'
Size: 4096 Blocks: 8 IO Block: 1048576 directory
Device: 1dh/29d Inode: 13688145550629221525 Links: 7
Access: (0775/drwxrwxr-x) Uid: ( 1000/ UNKNOWN) Gid: ( 1000/ UNKNOWN)
Access: 2014-03-14 06:23:36.000000000 +0000
Modify: 2014-03-14 06:16:57.964003592 +0000 ------> Here!
Change: 2014-03-14 06:23:37.993003593 +0000
[node1 ~]# stat /mnt/p2p/tests
File: `/mnt/p2p/tests'
Size: 4096 Blocks: 8 IO Block: 1048576 directory
Device: 1dh/29d Inode: 13688145550629221525 Links: 7
Access: (0775/drwxrwxr-x) Uid: ( 1000/ UNKNOWN) Gid: ( 1000/ UNKNOWN)
Access: 2014-03-14 06:23:36.000000000 +0000
Modify: 2013-08-18 23:31:07.000000000 +0000 -------> Here!
Change: 2014-03-14 06:23:37.214003508 +0000
[node1 ~]#
Environment
- Red Hat Storage Server 2.1
- GlusterFS - 3.4.0.33rhs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.