[Gluster-users] metadata for stat : Should it be identical?
Jay Vyas
jayunit100 at gmail.com
Thu Oct 24 19:14:18 UTC 2013
Hi folks. Im wondering wether i should expect gluster to always return
identical stat info for a file on the system. seems like, by definition of
a "distributed file system" the answer would be yes. But Im not seeing
that. Rather, I'm seeing different metadata from the stat command, in
particular, the modification time is not the same.
FYI, these two machines are not clock synchronized, but -- should that be
an issue? I would assume there would be one central source of truth for
any stat info on a file in the global namespace, right?
# ssh mrg11 stat
/mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens
[1/1897]
File: `/mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens'
Size: 38 Blocks: 1 IO Block: 131072 regular file
Device: 13h/19d Inode: 11771249148879556417 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 493/ yarn) Gid: ( 490/ yarn)
Access: 2013-10-24 14:22:28.858586945 -0400
Modify: 2013-10-24 14:22:28.861593090 -0400
Change: 2013-10-24 14:22:28.861593090 -0400
#ssh mrg12 stat
/mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens
File: `/mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens'
Size: 38 Blocks: 1 IO Block: 131072 regular file
Device: 13h/19d Inode: 11771249148879556417 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 493/ yarn) Gid: ( 490/ yarn)
Access: 2013-10-24 14:22:29.868940729 -0400
Modify: 2013-10-24 14:22:29.871694979 -0400
Change: 2013-10-24 14:22:29.871694979 -0400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131024/25257bbc/attachment.html>
More information about the Gluster-users
mailing list