Re: stat access does not change

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

 



Vicent,

Although it can seen naive, I can bet this problem is happening at your
brick's posix. From what I understand, GlusterFS has no control over writing
or not writing atime. Can you do a "mount|grep noatime" at your servers?

If you do this test directly at the storage/posix brick, what happens?

Best,
Daniel

On Nov 9, 2007 8:42 AM, Vincent Régnard <vregnard@xxxxxxxxxxxxxxxx> wrote:

> Hi everybody,
>
> Seems here that access timestamp is not modified as expected on our
> gluster file system after file is opened. Can you reproduce this behaviour
> ?
>
> $ stat TBSX509CApersona2.crl
>    File: `TBSX509CApersona2.crl'
>    Size: 1324            Blocks: 16         IO Block: 1048576 regular file
> Device: ch/12d  Inode: 3604584     Links: 1
> Access: (0664/-rw-rw-r--)  Uid: ( 7886/cliprodcerts)   Gid: (
> 7886/cliprodcerts)
> Access: 2007-11-09 08:29:34.000000000 +0000
> Modify: 2007-11-09 10:06:32.000000000 +0000
> Change: 2007-11-09 10:06:32.000000000 +0000
>
> $ cat TBSX509CApersona2.crl
>
> $ stat TBSX509CApersona2.crl
>    File: `TBSX509CApersona2.crl'
>    Size: 1324            Blocks: 16         IO Block: 1048576 regular file
> Device: ch/12d  Inode: 3604584     Links: 1
> Access: (0664/-rw-rw-r--)  Uid: ( 7886/cliprodcerts)   Gid: (
> 7886/cliprodcerts)
> Access: 2007-11-09 08:29:34.000000000 +0000
> Modify: 2007-11-09 10:06:32.000000000 +0000
> Change: 2007-11-09 10:06:32.000000000 +0000
>
> $ vi TBSX509CApersona2.crl (and save file)
>
> $ stat TBSX509CApersona2.crl
>    File: `TBSX509CApersona2.crl'
>    Size: 1324            Blocks: 16         IO Block: 1048576 regular file
> Device: ch/12d  Inode: 3604586     Links: 1
> Access: (0664/-rw-rw-r--)  Uid: ( 7886/cliprodcerts)   Gid: (
> 7886/cliprodcerts)
> Access: 2007-11-09 10:13:12.000000000 +0000
> Modify: 2007-11-09 10:13:12.000000000 +0000
> Change: 2007-11-09 10:13:12.000000000 +0000
>
> $ vi TBSX509CApersona2.crl (just read file)
>
> $ stat TBSX509CApersona2.crl
>    File: `TBSX509CApersona2.crl'
>    Size: 1324            Blocks: 16         IO Block: 1048576 regular file
> Device: ch/12d  Inode: 3604586     Links: 1
> Access: (0664/-rw-rw-r--)  Uid: ( 7886/cliprodcerts)   Gid: (
> 7886/cliprodcerts)
> Access: 2007-11-09 10:13:12.000000000 +0000
> Modify: 2007-11-09 10:13:12.000000000 +0000
> Change: 2007-11-09 10:13:12.000000000 +0000
>
>
> My config is gluster 1.3.7/fuse2.7.0-glfs5, linux 2.6.16.55. We have 3
> clients and 3 servers (1 client and 1 server on each host) on a 100Mb
> network with 5ms round trip between clients and servers. The 3 clients
> replicate with afr on client side over the 3 servers.
>
> On servers I have his stack:
>
> storage/posix
> features/posix-locks
> performance/io-threads
> protocol/server
>
> On clients I have this stack:
>
> protocol/client(*3)
> cluster/afr
> performance/io-threads
> performance/io-cache
> performance/write-behind
>
> --
> Vincent Régnard
> vregnard@xxxxxxxxxxxxxxxx
> TBS-internet.com
> 027 630 5902
>


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux