Difference between revisions of "Journaling and indexing"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
Line 8: Line 8:
  
 
  #tune2fs -O dir_index /dev/hda1
 
  #tune2fs -O dir_index /dev/hda1
  #tune2fs -O has_journal -o journal_data /dev/hda1 </span><br>
+
  #tune2fs -O has_journal -o journal_data /dev/hda1
  
 
tune startup checks
 
tune startup checks
Line 14: Line 14:
 
  #tune2fs -c 90 -i 120 /dev/hda1
 
  #tune2fs -c 90 -i 120 /dev/hda1
  
Show current options<br>
+
Repeat these steps for the rest of your partitions except your swap partition (/dev/hda3 and /dev/hda4 if you are using the scheme in the Gentoo how-to). When you are done with all of your partitions click [http://www.kurobox.com/mwiki/index.php/Install_gentoo#swap here] to be returned to the Gentoo Install instructions.
 
+
#tune2fs -l /dev/hdXY
+
 
+
Repeat these steps for the rest of your partitions except your swap partition. When you are done with all of your partitions click [http://www.kurobox.com/mwiki/index.php/Install_gentoo#swap here] to be returned to the Gentoo Install instructions.
+

Revision as of 18:25, 14 March 2006

Start by downloading tune2fs from http://www.kurobox.com/downloads/gentoo and FTP it to /bin on your kuro which should still be in EM mode.

format as ext3

mke2fs -jv /dev/hda1

enable full journaling and indexing

#tune2fs -O dir_index /dev/hda1
#tune2fs -O has_journal -o journal_data /dev/hda1

tune startup checks

#tune2fs -c 90 -i 120 /dev/hda1

Repeat these steps for the rest of your partitions except your swap partition (/dev/hda3 and /dev/hda4 if you are using the scheme in the Gentoo how-to). When you are done with all of your partitions click here to be returned to the Gentoo Install instructions.