Difference between revisions of "Journaling and indexing"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
Line 1: Line 1:
 
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.
 
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<br>
+
format as ext3
<br>
+
 
<span class=postbody1>#mke2fs -jv /dev/hda1 </span><br>
+
mke2fs -jv /dev/hda1
<br>
+
 
enable full journaling and indexing<br>
+
enable full journaling and indexing
<br>
+
 
<span class=postbody1>#tune2fs -O dir_index /dev/hda1 </span><br>
+
#tune2fs -O dir_index /dev/hda1
<br>
+
#tune2fs -O has_journal -o journal_data /dev/hda1 </span><br>
<span class=postbody1>#tune2fs -O has_journal -o journal_data /dev/hda1 </span><br>
+
 
<br>
+
tune startup checks
tune startup checks<br>
+
 
<br>
+
#tune2fs -c 90 -i 120 /dev/hda1
<span class=postbody1>#tune2fs -c 90 -i 120 /dev/hda1 </span><br>
+
 
<br>
+
 
Show current options<br>
 
Show current options<br>
<br>
+
 
<span class=postbody1>#tune2fs -l /dev/hdXY </span><br>
+
#tune2fs -l /dev/hdXY  
<br>
+
 
 
Repeat these steps for the rest of your partitions except your swap partition.
 
Repeat these steps for the rest of your partitions except your swap partition.

Revision as of 14:15, 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 </span>

tune startup checks

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

Show current options

#tune2fs -l /dev/hdXY 

Repeat these steps for the rest of your partitions except your swap partition.