[CentOS] Drive activity every 30sec

Mon Jul 7 23:42:27 UTC 2008
Robert Moskowitz <rgm at htt-consult.com>

Thanks, but explain...

nate wrote:
> Robert Moskowitz wrote:
>   
>> I have a Centos installed on a Hitachi 2.5" drive that shuts off really
>> quickly, it seems.
>>
>> So every 30 sec, the drive makes the sound of an access activity.  I
>> have looked trying to find what might be being updated.  Swap drive
>> usage is 0 bytes.  No activity in /var/log.  What might it be and can I
>> do anything to lessen the drive access (improve battery life)?
>>     
>
> I'm sure there are other things as well but first thing comes to mind is
> disabling atime for your file systems, to test the change you can do this
>
> (for each of the mount points)
> mount <mount point> -o remount,noatime
>   
Everything is quite on the notebook front. Now.

But What is going on here?

atime -- Update inode access time for each access. This is the default.

noatime -- Do not update inode access times on this file system (e.g, for
faster access on the news spool to speed up news servers).

Are the inodes being updated or some info about inode access times?

If you have a partition for a mail share, would this help it too (like 
it does for a news server)?

> e.g.
>
> mount / -o remount,noatime
> mount /usr -o remount,noatime
>
> You can verify the options by running 'mount'. If this does the trick
> you can add the options to /etc/fstab, e.g.
>
> LABEL=/                 /                       ext3    defaults,noatime    
>    1 1
>
> nate
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>