User Tools

Site Tools


blog:linux_speed_up_speed_up_ext3

Linux speed up Speed up ext3

After making a back up of the file, open /etc/fstab in a text editor with root permissions and look for a line with the following section of text:

relatime,errors=remount-ro

and replace it with this:

noatime,nodiratime,errors=remount-ro,data=writeback

Open /boot/grub/menu.lst and find the following two lines:

# defoptions quiet splash
#altoptions=(recoverymode) single

They won't be next to each other, but once you find them append the following at the end of both those lines:

rootflags=data=writeback

then save and exit. Open up a root terminal and run update grub. You then have the option of simply restarting to apply these changes to your file system, or you can apply them on the fly by installing tune2fs from your package manager. If you choose the latter option you would then type the following into a root terminal:

tune2fs -o journal_data_writeback /dev/hda1

substituting /dev/hda1 with your root partition.

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
  _____     __ __  __ __  __   _  __
 / ___/ __ / / \ \/ / \ \/ /  / |/ /
/ (_ / / // /   \  /   \  /  /    / 
\___/  \___/    /_/    /_/  /_/|_/
 
blog/linux_speed_up_speed_up_ext3.txt · Last modified: 2009-11-02 07:11 by brb