Failures they e2fsck doesn't find

Jörg Sommer joerg at alea.gnuu.de
Thu Feb 10 13:40:03 UTC 2005


Andreas Dilger schrieb am Wed 09. Feb, 11:26 (-0700) :
> On Feb 09, 2005  00:44 +0100, Jörg Sommer wrote:
> > Andreas Dilger schrieb am Tue 08. Feb, 11:05 (-0700) :
> > > Also, if you run "\ls {dir}" does it display the files?  If yes, then
> > > in debugfs run "stat {file}" and show the output here.
> > 
> > Where? At the command line this fails, but in debugfs ls prints all files
> > and stat prints:
> 
> This is from the command-line.  Note specifically the '\' before ls, so
> that you don't get anything like color-ls trying to stat all of the files.

There are no errors with \ls.

> This would tell us if the files are being found with readdir (they almost
> certainly are) and that the problem is during lookup.  I assume if you do
> "ls -l {filename}" it fails.

$ stat archiv/text/finprüf.pdf
stat: Aufruf von stat für ,,archiv/text/finprüf.pdf" nicht möglich: Datei
oder Verzeichnis nicht gefunden
$ ls -l archiv/text/finprüf.pdf
ls: archiv/text/finprüf.pdf: Datei oder Verzeichnis nicht gefunden

> If you run "tune2fs -O ^dir_index" does the ls work again?

yes.

Can I add the index again?

Thanks, Joerg.

-- 
Viele Leute glauben, daß sie denken, wenn sie lediglich
ihre Vorurteile neu ordnen.
-------------- 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/20050210/960c15e2/attachment.sig>


More information about the Ext3-users mailing list