Difference between revisions of "Disk Performance Tuning"

From Noah.org
Jump to navigationJump to search
Line 4: Line 4:
 
<pre>
 
<pre>
 
# /dev/sda1
 
# /dev/sda1
UUID=d4769677-d2a9-4d87-9165-fc44760495bc / ext3 defaults,errors=remount-ro,noatime,data=writeback 0       1
+
UUID=d4769677-d2a9-4d87-9165-fc44760495bc / ext3 defaults,errors=remount-ro,noatime,data=writeback 0 1
 
</pre>
 
</pre>
 
Older systems might use the /dev/hda1 notation (if upgrading you can get the UUID using the <code>vol_id /dev/hda1</code> command):
 
Older systems might use the /dev/hda1 notation (if upgrading you can get the UUID using the <code>vol_id /dev/hda1</code> command):

Revision as of 17:58, 22 February 2007

On my laptop I use EXT3. My fstab is setup for speed. I turn off atime and set the mode to journal_data_writeback (this can also be set with tune2fs).

# /dev/sda1
UUID=d4769677-d2a9-4d87-9165-fc44760495bc / ext3 defaults,errors=remount-ro,noatime,data=writeback 0 1

Older systems might use the /dev/hda1 notation (if upgrading you can get the UUID using the vol_id /dev/hda1 command):

/dev/hda1 / ext3 defaults,errors=remount-ro,noatime,data=writeback 0 1

Before you reboot run:

tune2fs -o journal_data_writeback /dev/sda1