[Bugs] [Bug 1726175] CentOs 6 GlusterFS client creates files with time 01/01/1970

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 2 15:23:52 UTC 2019


baoboa <baoboadev at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |baoboadev at gmail.com

--- Comment #1 from baoboa <baoboadev at gmail.com> ---
same behavior for a centos6 client

glusterfs-server.x86_64                       6.3-1.el7                      

glusterfs-fuse.x86_64                            6.3-1.el6                   
kernel version: 2.6.32-573.3.1.el6.x86_64

mount -t glusterfs server:myvol /mnt/myvol

touch /mnt/myvol/test  -> correct time
-rw-r--r-- 1 root root 12 Jul  1 11:59 test

vi /mnt/myvol/test2  -> wrong time (1970)
-rw-r--r-- 1 root root  7 Dec 18  1970 test2

REM: this not the case for a centos7 client, the creation time is correct

recover correct time if ctime is deactivated

"gluster volume set myvol features.ctime off"

ls /mnt/myvol/
-rw-r--r-- 1 root root  7 Jul  2 17:16 test2
-rw-r--r-- 1 root root 12 Jul  1 11:59 test

https://review.gluster.org/#/c/glusterfs/+/22651/ this review look related to
this bug/regression

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list