OK, the short answer is mount option
  strictatime
which I had simply overlooked.
Thanks.

It also works fine with 'mount -o remount,strictatime /dev/sdXN' w/o messing 
with fstab

 - Horst



----- Original Message ----
From: Bob Miller <k...@jogger-egg.com>
To: Eugene Unix and Gnu/Linux User Group <euglug@euglug.org>
Sent: Wed, April 14, 2010 9:39:53 PM
Subject: Re: [Eug-lug] keeping atime current with kernel 2.6.30 (or later) on  
ext3 ? -- sometimes we don't want relatime

Horst, your filesystem is probably mounted with the "noatime" or
"relatime" mount option.
Check /etc/fstab.  Linux distributions have been converting over to
"noatime" for several
years.  The atime updates require significant disk bandwidth, and most
software doesn't
care.

See the mount(8) man page for more information on atime related options.


On Wed, Apr 14, 2010 at 9:13 PM, Horst <knoblauch137-0...@yahoo.com> wrote:
> kubuntu 9.10: I noticed that the atime is only updated the 1st time the file 
> is read, subsequent reads don't change it.(unless the ctime has changed for 
> some other, unrelated reason)
> After a reboot, another read changes it again, but only once.
>
> Generally, I found the atime information helpful, when researching why things 
> don't work, or work differently than I had expected, e.g. using 'ls -lu' or 
> 'stat' .
> As far as I can tell chattr does not have a mode argument to turn atime on 
> (+A turns atime off)
> Is there another way of allowing atime updates that I have overlooked ? 
> (other than 'touch -a' )-:
>
>  - Horst
> (still the same guy, just moved my IT email contact from freeshell to yahoo )
>
> Read on:
> ----
> uname:  Linux kubu910 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 
> UTC 2010 i686 GNU/Linux
> FS of interest is ext3, fstab/mount options 'default'
> ----
> Reading   http://en.wikipedia.org/wiki/Fstab
> Options: atime / noatime / relatime (Linux-specific)
> ...<skip>...
> Through Linux 2.6.29, atime was the default; as of 2.6.30 (9 June 2009), 
> relatime is the default.[1]
> ----
> It looks like even if I remount an ext3 data partition as ext2 with option 
> 'atime' I don't get what I want -- so it seems like the kernel is to blame 
> exclusively?
> ----
> Hal(if reading): The forinsic community must be missing true atime, too ?
> ----
> _______________________________________________
> EUGLUG mailing list
> euglug@euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
>



-- 
Bob Miller                              K<bob>
                                        k...@jogger-egg.com
_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug

_______________________________________________
EUGLUG mailing list
euglug@euglug.org
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to