public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* corrupt ext3 that even debugfs refuses to repair
@ 2003-05-22 13:26 Felix von Leitner
  2003-05-22 15:09 ` Andreas Dilger
  2003-05-25 21:51 ` Theodore Ts'o
  0 siblings, 2 replies; 3+ messages in thread
From: Felix von Leitner @ 2003-05-22 13:26 UTC (permalink / raw)
  To: linux-kernel

I just found out that my CVS ext3 file system is corrupted.
The symptom is that du complains about "file not found", i.e. getdents64
returns the files but stat says they aren't there.

e2fsck finds nothing wrong with the filesystem.

I isolated the files into one directory which I moved to /broken.  This
is what debugfs says:

# debugfs -w /dev/discs/disc0/part5
debugfs 1.33 (21-Apr-2003)
debugfs:  cd /broken
debugfs:  ls
 6243596  (12) .    2  (4084) ..    0  (4096) nsISO88592ToUnicode.cpp
 0  (4096) nsKOI8UToUnicode.o    0  (4096) nsUnicodeToMacDevanagari.h
 0  (4096) nsUnicodeToZapfDingbat.h    0  (620) nsCP1258ToUnicode.h
 6243907  (3476) .cvsignore    0  (4096) nsMacUkrainianToUnicode.cpp
debugfs:  rm foo
rm: File not found by ext2_lookup while trying to resolve filename
debugfs:  ls
ls: invalid option -- o
zsh: 5846 segmentation fault  debugfs -w /dev/discs/disc0/part5


Huh?  debugfs does not appear to be a very stable tool ;)
Once again, with nsCP1258ToUnicode.h this time:

debugfs:  rm nsCP1258ToUnicode.h
rm: File not found by ext2_lookup while trying to resolve filename
debugfs:  unlink nsCP1258ToUnicode.h
unlink_file_by_name: No free space in the directory

What can I do now (besides backup and restore, obviously)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-26  5:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22 13:26 corrupt ext3 that even debugfs refuses to repair Felix von Leitner
2003-05-22 15:09 ` Andreas Dilger
2003-05-25 21:51 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox