lkml.org 
[lkml]   [1999]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: scary ext2 filesystem question
Date
  Zlatko.Calusic@CARNet.hr writes:
>
> I found your oneliner very useful, but still have to say that the most
> tedious part is not modifying files, but writing down all reported
> inode numbers (from fsck pass). If you have lots of disk space, fsck
> can take some time, and you're spending that time watching the screen,
> writing inode numers in a hurry, so you can check later if any major
> corruption happened.
>
It should be reasonably simple to teach fsck to link all files with problems
to /lost+found (but make /lost+found mode 600 before you do that...).

> When in fact, fsck should tell you to go and get some coffee in a
> local pub, if it starts running on any FS bigger than GB or two. :)

I have a 4-GB file system that gets completely fsck'ed in a minute or so.

The fact that it holds exactly two files (both of them 2 GBytes big...)
should be telling, of course -- fsck speed is more a function of the number
of inodes in use than of the number of blocks.

--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
Reality is something you rise above.
-- Liza Minnelli

-
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:49    [W:0.128 / U:1.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site