Failures they e2fsck doesn't find
Jörg Sommer
joerg at alea.gnuu.de
Tue Feb 8 23:44:49 UTC 2005
Andreas Dilger schrieb am Tue 08. Feb, 11:05 (-0700) :
> On Feb 04, 2005 17:45 +0100, Joerg Sommer wrote:
> > I've run many time e2fsck, but in a special dir ls tells me:
> > ls: rücksendung-wlan.dvi: No such file or directory
> > ls: bafög_rückmeldung.latex: No such file or directory
> > ls: finprüf.pdf: No such file or directory
> >
> > $ cat finprüf.pdf
> > cat: finprüf.pdf: Datei oder Verzeichnis nicht gefunden
> >
> > I don't know what to do? How can I find the failure? If I cat the files
> > with debugfs, I see the their contents.
>
> When you run e2fsck, you use "e2fsck -f"? Otherwise it will just check
Yes. -C 0 -D -f -y
> 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:
debugfs: stat bafög_rückmeldung.latex
Inode: 734270 Type: regular Mode: 0644 Flags: 0x0 Generation: 210778105
User: 1000 Group: 100 Size: 715
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 2
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x40d85922 -- Tue Jun 22 18:06:58 2004
atime: 0x41f8b83f -- Thu Jan 27 10:45:35 2005
mtime: 0x40644750 -- Fri Mar 26 16:08:00 2004
BLOCKS:
(0):14465723
TOTAL: 1
debugfs: stat finprüf.pdf
Inode: 519716 Type: regular Mode: 0644 Flags: 0x0 Generation: 2062801645
User: 1000 Group: 100 Size: 28514
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 58
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x41f8c231 -- Thu Jan 27 11:28:01 2005
atime: 0x41f8c16d -- Thu Jan 27 11:24:45 2005
mtime: 0x41f82aa0 -- Thu Jan 27 00:41:20 2005
BLOCKS:
(0):10237961, (1-5):10240535-10240539, (6-11):10388563-10388568, (IND):10388569, (12-18):10388570-10388576, (19
TOTAL: 29
debugfs: stat rücksendung-wlan.dvi
Inode: 54501 Type: regular Mode: 0644 Flags: 0x0 Generation: 2068632333
User: 1000 Group: 100 Size: 1688
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 4
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x41f6d9b4 -- Wed Jan 26 00:43:48 2005
atime: 0x41f8b83f -- Thu Jan 27 10:45:35 2005
mtime: 0x416af7ac -- Mon Oct 11 23:14:20 2004
BLOCKS:
(0-1):1080841-1080842
TOTAL: 2
Here is stat of a file that I see at the command line:
debugfs: stat bafög_rückmeldung.dvi
Inode: 734276 Type: regular Mode: 0644 Flags: 0x0 Generation: 210778111
User: 1000 Group: 100 Size: 1412
File ACL: 0 Directory ACL: 0
Links: 1 Blockcount: 4
Fragment: Address: 0 Number: 0 Size: 0
ctime: 0x40d85922 -- Tue Jun 22 18:06:58 2004
atime: 0x41f8b843 -- Thu Jan 27 10:45:39 2005
mtime: 0x40644750 -- Fri Mar 26 16:08:00 2004
BLOCKS:
(0-1):14465734-14465735
TOTAL: 2
Jörg.
--
at lilo press tab key | an Luftmatratzenpressetabulatorschlüssel
(Übersetzung von Personal Translator 2000)
-------------- 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/20050209/acc67e2a/attachment.sig>
More information about the Ext3-users
mailing list