Failures they e2fsck doesn't find

Jörg Sommer joerg at alea.gnuu.de
Sun Feb 13 21:26:39 UTC 2005


Andreas Dilger schrieb am Thu 10. Feb, 10:23 (-0700) :
> On Feb 10, 2005  14:40 +0100, Jörg Sommer wrote:
> > > If you run "tune2fs -O ^dir_index" does the ls work again?
> > 
> > yes.
> > 
> > Can I add the index again?
> 
> Yes, "tune2fs -O dir_index".  If you haven't created any large directories

Done.

> After you do that can you run the following:
> 
> mkdir {new_dir}
> cd {old_dir}
> \ls | (cd {new_dir}; xargs touch)
> 
> and then
> 
> debugfs {dev}
> debugfs> htree {old_dir}

Root node dump:
	 Reserved zero: 0
	 Hash Version: 2
	 Info length: 8
	 Indirect levels: 0
	 Flags: 0
Number of entries (count): 2
Number of entries (limit): 124
Entry #0: Hash 0x00000000, block 1
Entry #1: Hash 0xb9114fc0, block 2

Entry #0: Hash 0x00000000, block 1
54501 0x088293ea (28) rücksendung-wlan.dvi   
734285 0x17aeabc8 (24) wasserwerk.latex   
734252 0x1f55629c (24) Bewerbung.vor   1312 0x246cd2d4 (28) Bowlingpreise.sxw   
734289 0x2e21b5e8 (28) hochzeitszeitung.txt   735073 0x30fd27b0 (16) steffi   
519716 0x311a8596 (20) finprüf.pdf   
734270 0x31c25a06 (32) bafög_rückmeldung.latex   
734274 0x3238c734 (24) bkk-storno.dvi   
734248 0x33c89cd4 (28) ASB-Kündigung.sdw   734730 0x376f7cbe (16) Schule   
734281 0x387f43be (24) wlan-plan.dvi   734269 0x3a82cb6a (16) lars.dvi   
519707 0x4062be3c (36) darlehen-04-vertrag.latex   
734253 0x48fa6bfa (28) Computerpreis.sdw   
734287 0x491b3c3a (28) bafög-änderung.latex   
1295 0x4a7ff138 (28) Getränkekarte.sxw   
734263 0x4e435d4c (28) prog_alphabet.sdw   
734277 0x534cbeb4 (28) darlehen-03.latex   734251 0x55ca18dc (16) wlan.dvi   
734265 0x5d45e6f2 (28) thur kündigung.sdw   734268 0x5f508430 (20) lars.latex   
734676 0x627516e6 (12) Inet   734255 0x693832e2 (28) ELV TempSensor.sdw   
734256 0x6d176a3a (20) Selig2.sdw   734261 0x786912d6 (20) dorndorf.doc   
734280 0x85e5d794 (24) wlan-plan.latex   
734272 0x8819be28 (32) bafög_ummeldung.latex   734657 0x89cb9c46 (16) sprüche   
734735 0x8eb1a558 (16) Songs   734250 0x8f7e13cc (32) Allianz-Kündigung.sdw   
734254 0x91fef748 (28) ELV Interface.sdw   
734273 0x92535b88 (24) bkk-storno.latex   
734262 0x92b6b532 (24) idiotentest.sdw   
734278 0x95f376da (24) darlehen-03.dvi   735103 0x9b1fdcc6 (16) lyrik   
734279 0x9f547278 (20) kfz.latex   520001 0xa363e182 (12) 3m+1   
734266 0xa8f58efe (32) Der saure Herrmann.sdw   
734258 0xaa65d8f2 (24) Zivi Antrag.sdw   
519714 0xab04fb7c (32) rücksendung-etrade.dvi   
734246 0xab082164 (40) Firma.sdw   
Entry #1: Hash 0xb9114fc0, block 2
734288 0xb9114fc0 (28) bafög-änderung.dvi   
734257 0xba3bc724 (36) Versicherung-Kündigung.sdw   
734271 0xba9387ba (28) bafög_ummeldung.dvi   
734267 0xbf88efee (36) allianz rückforderung.sdw   
54499 0xbff9f39e (32) rücksendung-wlan.latex   
734249 0xc02ce9de (32) Allianz-Diebstahl.sdw   
734242 0xc0568f7c (16) Brigitte   734275 0xc0f16368 (16) kfz.dvi   
735093 0xc4986dc0 (16) wurzel   734282 0xd613c70a (24) fax_ikj.latex   
734286 0xd8a19672 (24) vollmacht.latex   
734259 0xd90be2ae (28) Zivi Begründung.sdw   
519712 0xd9ef85e8 (32) rücksendung-etrade.latex   
734284 0xde7fa88e (24) wasserwerk.dvi   
520417 0xe153df2e (28) geschichten-steffi   
734276 0xe2b6c014 (32) bafög_rückmeldung.dvi   
519703 0xe872bd64 (28) brief-mutti.latex   734283 0xec40ae42 (20) fax_ikj.dvi   
519713 0xee0f70b4 (24) finprüf.latex   734247 0xef7a85b4 (20) wlan.latex   
519705 0xf33d9d70 (24) brief-mutti.dvi   1300 0xf848ef3a (24) Essenkarte.sxw   
519710 0xf9d41054 (32) darlehen-04-vertrag.dvi   
734260 0xfd142cc4 (28) Zivi Lebenslauf.sdw   
734264 0xffadc8ae (392) studium lebenslauf.sdw   
---------------------

> debugfs> htree {new_dir}

Root node dump:
	 Reserved zero: 0
	 Hash Version: 2
	 Info length: 8
	 Indirect levels: 0
	 Flags: 0
Number of entries (count): 2
Number of entries (limit): 124
Entry #0: Hash 0x00000000, block 1
Entry #1: Hash 0x92535b88, block 2

Entry #0: Hash 0x00000000, block 1
46180 0x8f7e13cc (32) Allianz-Kündigung.sdw   
46182 0x33c89cd4 (28) ASB-Kündigung.sdw   
46183 0x491b3c3a (28) bafög-änderung.latex   
46186 0x8819be28 (32) bafög_ummeldung.latex   
46187 0x1f55629c (24) Bewerbung.vor   46188 0x3238c734 (24) bkk-storno.dvi   
46190 0x246cd2d4 (28) Bowlingpreise.sxw   
46194 0x48fa6bfa (28) Computerpreis.sdw   
46196 0x534cbeb4 (28) darlehen-03.latex   
46198 0x4062be3c (36) darlehen-04-vertrag.latex   
46200 0x786912d6 (20) dorndorf.doc   46201 0x91fef748 (28) ELV Interface.sdw   
46202 0x693832e2 (28) ELV TempSensor.sdw   
46209 0x4a7ff138 (28) Getränkekarte.sxw   
46210 0x2e21b5e8 (28) hochzeitszeitung.txt   46212 0x627516e6 (12) Inet   
46215 0x3a82cb6a (16) lars.dvi   46216 0x5f508430 (20) lars.latex   
46218 0x4e435d4c (28) prog_alphabet.sdw   46222 0x376f7cbe (16) Schule   
46223 0x6d176a3a (20) Selig2.sdw   46224 0x8eb1a558 (16) Songs   
46225 0x89cb9c46 (16) sprüche   46226 0x30fd27b0 (16) steffi   
46228 0x5d45e6f2 (28) thur kündigung.sdw   
46231 0x17aeabc8 (24) wasserwerk.latex   46232 0x55ca18dc (16) wlan.dvi   
46234 0x387f43be (24) wlan-plan.dvi   46235 0x85e5d794 (352) wlan-plan.latex   
Entry #1: Hash 0x92535b88, block 2
46178 0xa363e182 (12) 3m+1   46179 0xc02ce9de (32) Allianz-Diebstahl.sdw   
46181 0xbf88efee (36) allianz rückforderung.sdw   
46184 0xe2b6c014 (32) bafög_rückmeldung.dvi   
46185 0x31c25a06 (32) bafög_rückmeldung.latex   
46189 0x92535b88 (24) bkk-storno.latex   
46191 0xf33d9d70 (24) brief-mutti.dvi   
46192 0xe872bd64 (28) brief-mutti.latex   46193 0xc0568f7c (16) Brigitte   
46195 0x95f376da (24) darlehen-03.dvi   
46197 0xf9d41054 (32) darlehen-04-vertrag.dvi   
46199 0xa8f58efe (32) Der saure Herrmann.sdw   
46203 0xf848ef3a (24) Essenkarte.sxw   46204 0xec40ae42 (20) fax_ikj.dvi   
46205 0xd613c70a (24) fax_ikj.latex   46206 0x311a8596 (20) finprüf.pdf   
46207 0xab082164 (20) Firma.sdw   46208 0xe153df2e (28) geschichten-steffi   
46211 0x92b6b532 (24) idiotentest.sdw   46213 0xc0f16368 (16) kfz.dvi   
46214 0x9f547278 (20) kfz.latex   46217 0x9b1fdcc6 (16) lyrik   
46219 0xab04fb7c (32) rücksendung-etrade.dvi   
46220 0x088293ea (28) rücksendung-wlan.dvi   
46221 0xbff9f39e (32) rücksendung-wlan.latex   
46227 0xffadc8ae (32) studium lebenslauf.sdw   
46229 0xd8a19672 (24) vollmacht.latex   46230 0xde7fa88e (24) wasserwerk.dvi   
46233 0xef7a85b4 (20) wlan.latex   46236 0xc4986dc0 (16) wurzel   
46237 0xaa65d8f2 (24) Zivi Antrag.sdw   
46238 0xfd142cc4 (256) Zivi Lebenslauf.sdw   
---------------------

Here are the differences:
--- htree.old3	2005-02-13 22:16:56.570095080 +0100
+++ htree.new3	2005-02-13 22:16:46.256662960 +0100
-0xb9114fc0 (28) bafög-änderung.dvi   
-0xba3bc724 (36) Versicherung-Kündigung.sdw   
-0xba9387ba (28) bafög_ummeldung.dvi   
-0xd90be2ae (28) Zivi Begründung.sdw   
-0xd9ef85e8 (32) rücksendung-etrade.latex   
-0xee0f70b4 (24) finprüf.latex

These are all files I don't see with ls in the old directory.

$ \ls archiv/text/fi*
ls: archiv/text/finprüf.pdf: Datei oder Verzeichnis nicht gefunden

debugfs:  stat archiv/text/finprüf.latex
Inode: 519713   Type: regular    Mode:  0644   Flags: 0x0   Generation: 2062801501
User:  1000   Group:   100   Size: 1693
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 4
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x41f8c231 -- Thu Jan 27 11:28:01 2005
atime: 0x420b63d1 -- Thu Feb 10 14:38:25 2005
mtime: 0x41f82a9e -- Thu Jan 27 00:41:18 2005
BLOCKS:
(0-1):10240526-10240527
TOTAL: 2

But the hash of finprüf.pdf doesn't change.

519716 0x311a8596 (20) finprüf.pdf   
46206 0x311a8596 (20) finprüf.pdf

Hope I could help you finding the bug. Do you need anymore informations?

Joerg.

-- 
"Computer games don't affect kids. If Pacman would have affected us as
children, we would now run around in darkened rooms, munching pills and
listening to repetetive music."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20050213/b6cda826/attachment.sig>


More information about the Ext3-users mailing list