lkml.org 
[lkml]   [1998]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Strange Problem with a File on Redhat 5.0
Peter Moulder wrote:

> > Here is what i get when doing a ls -al in the / dir
> >
> > b---r-S--T 1 29295 28257 102, 47 Jun 20 2034 tmp
>
> Run e2fsck version 1.12 over that filesystem (with the `-f' flag). If
> that doesn't work, use debugfs or ext2ed to set the link count of that

I had a very big problem with this at one point when I had a bizarre hdd
failure during a stage2 gcc compile. Thousands of files with garbage
values (block and character files with major numbers of 4 million or so,
file sizes of several hundred megabytes, etc.). I had to write a debugfs
"script" to 'rm' them all since the 'rmdir' functionality isn't written
into debugfs yet. It's interesting to note with these files that you can
move the directory they are contained in around, thereby isolating all
the bad files into one area. A nice 'du /' also showed me where they
were hiding since the directories they were contained in showed up as
huge...

m.

--
| Michael Vance
| Pennsylvania State University, Department of Computer Science
| "This message brought to you by the unceasing, algorithmic process of
evolution."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.064 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site