Speed Up Linux Hard Drives by Disabling Atime

Disabling the atime option, which writes a last-accessed time to every single file that's accessed by a Linux system, may net some significant performance improvements.



The below screenshot is actually erroneous - but funnily enough that was transparent for Debian - until I wanted to check if the filesystem was in fact mounted with the noatime attributes.

Then that's what happened
alashazam@albd:~$ sudo mount -la
[mntent]: line 5 in /etc/fstab is bad
alashazam@albd:~$
A simple space was inserted after the remount-ro
/dev/sda1 / ext3 defaults,errors=remount-ro, noatime,nodiratime 0 1

the line has to be corrected as follow
/dev/sda1 / ext3 defaults,errors=remount-ro,noatime,nodiratime 0 1

So now the command "mount -l" works
alashazam@albd:~$ mount -l
/dev/sda1 on / type ext3 (rw,noatime,nodiratime,errors=remount-ro) [/]

read more | digg story

No comments:

Related Posts with Thumbnails