Re: cephfs modification time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



first 3 stat commands shows blocks and size changing, but not the times
after a touch it changes and tail works

I saw some cephfs freezes related to it, it came back after touching the files

coreos2 logs # stat deis-router.log
  File: 'deis-router.log'
  Size: 148564     Blocks: 291        IO Block: 4194304 regular file
Device: 0h/0d Inode: 1099511628780  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-01-10 01:13:00.100582619 +0000
Modify: 2015-01-10 01:13:00.100582619 +0000
Change: 2015-01-10 01:13:00.000000000 +0000
 Birth: -
coreos2 logs # stat deis-router.log
  File: 'deis-router.log'
  Size: 152633     Blocks: 299        IO Block: 4194304 regular file
Device: 0h/0d Inode: 1099511628780  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-01-10 01:13:00.100582619 +0000
Modify: 2015-01-10 01:13:00.100582619 +0000
Change: 2015-01-10 01:13:00.000000000 +0000
 Birth: -
coreos2 logs # stat deis-router.log
  File: 'deis-router.log'
  Size: 155763     Blocks: 305        IO Block: 4194304 regular file
Device: 0h/0d Inode: 1099511628780  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-01-10 01:13:00.100582619 +0000
Modify: 2015-01-10 01:13:00.100582619 +0000
Change: 2015-01-10 01:13:00.000000000 +0000
 Birth: -

coreos2 logs # touch deis-router.log

coreos2 logs # stat deis-router.log
  File: 'deis-router.log'
  Size: 155763     Blocks: 305        IO Block: 4194304 regular file
Device: 0h/0d Inode: 1099511628780  Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2015-01-10 01:13:46.961858103 +0000
Modify: 2015-01-10 01:13:46.961858103 +0000
Change: 2015-01-10 01:13:46.000000000 +0000
 Birth: -

On Fri, Jan 9, 2015 at 11:11 PM, Lorieri <lorieri@xxxxxxxxx> wrote:
> Hi,
>
> I have a program that tails a file and this file is create on another machine
>
> some tail programs does not work because the modification time is not
> updated in the remote machines
>
> I've find this old thread
> http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/11001
>
> it mentions the problem and suggest ntp sync
>
> I tried to re-sync ntp and restart the ceph cluster, but the issue persists
>
> do you know if it is possible to avoid this behavior ?
>
> thanks
> -lorieri
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux