Hello Gluster Community,
I did some experiments with setting the atime in different scenarios. In scenario 2,3 and 4 I have a simple replica 2 volume with worm-file-level on[davids@gluster-test1 src]$ sudo touch -a -t 197001010001 test
[davids@gluster-test1 src]$ stat test
File: ‘test’
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: fd00h/64768d Inode: 16854052 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 1000/ davids) Gid: ( 1000/ davids)
Access: 1970-01-01 00:01:00.000000000 +0100
Modify: 2018-01-05 09:06:34.567406414 +0100
Change: 2018-01-05 09:10:22.656813779 +0100
Birth: -
[davids@gluster-test1 gluster0]# touch test
[davids@fgluster-test1 gluster0]# sudo touch -a -t 197001010001 test
[davids@gluster-test1 gluster0]# stat test
File: ‘test’
Size: 0 Blocks: 0 IO Block: 131072 regular empty file
Device: 28h/40d Inode: 11420445633475641741 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2106-02-07 06:29:16.000000000 +0100
Modify: 2018-01-05 09:15:28.655599273 +0100
Change: 2018-01-05 09:15:48.744780537 +0100
Birth: -
[davids@gluster-test1 gluster0]$ touch test
[davids@gluster-test1 gluster0]$ sudo touch -a -t 197001010001 test
[davids@gluster-test1 gluster0]$ stat test
File: ‘test’
Size: 0 Blocks: 0 IO Block: 16384 regular empty file
Device: 27h/39d Inode: 9521130001639226397 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ davids) Gid: ( 1000/ davids)
Access: 2018-01-05 09:18:02.000000000 +0100
Modify: 2018-01-05 09:18:02.000000000 +0100
Change: 2018-01-05 09:18:01.000000000 +0100
Birth: -
[davids@gluster-test1 gluster0]$ touch test
[davids@gluster-test1 gluster0]$ sudo touch -a -t 197001010101 test
[davids@gluster-test1 gluster0]$ stat test
File: ‘test’
Size: 0 Blocks: 0 IO Block: 16384 regular empty file
Device: 27h/39d Inode: 9521130001639226397 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ davids) Gid: ( 1000/ davids)
Access: 1970-01-01 01:01:00.000000000 +0100
Modify: 2018-01-05 09:18:02.000000000 +0100
Change: 2018-01-05 09:23:09.000000000 +0100
Birth: -
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users