Bug 1726175
Summary: | CentOs 6 GlusterFS client creates files with time 01/01/1970 | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | alexis.fernandez | |
Component: | ctime | Assignee: | Kotresh HR <khiremat> | |
Status: | CLOSED NEXTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 6 | CC: | atumball, baoboadev, bugs, khiremat, rkavunga | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1743652 (view as bug list) | Environment: | ||
Last Closed: | 2019-08-28 08:34:57 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1743652, 1746145 |
Description
alexis.fernandez
2019-07-02 09:35:06 UTC
same behavior for a centos6 client server: glusterfs-server.x86_64 6.3-1.el7 @centos-gluster6 client: glusterfs-fuse.x86_64 6.3-1.el6 @centos-gluster6 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 Thanks baoboa, I can confirm the value "gluster volume set myvol features.ctime off" fix the issue with the date. Thanks. REVIEW: https://review.gluster.org/23274 (ctime: Fix incorrect realtime passed to frame->root->ctime) posted (#1) for review on master by Kotresh HR REVISION POSTED: https://review.gluster.org/23274 (ctime: Fix incorrect realtime passed to frame->root->ctime) posted (#2) for review on master by Kotresh HR REVIEW: https://review.gluster.org/23313 (ctime: Fix incorrect realtime passed to frame->root->ctime) posted (#1) for review on release-6 by Kotresh HR REVIEW: https://review.gluster.org/23313 (ctime: Fix incorrect realtime passed to frame->root->ctime) merged (#2) on release-6 by hari gowtham |