lkml.org 
[lkml]   [2001]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.15 + fs corruption.
On Fri, Nov 23, 2001 at 05:50:03PM -0600, Jahn Veach wrote:
> What kind of breakage are we looking at here? I had a system that ran 2.4.15
> and got shut down without a sync. What kind of corruption will occur and is
> it something a simple fsck will fix?

fsck does seem to fix it, but it won't automatically detect the problem
(since the filesystem is marked clean).

It basically removes the inodes from the disk, but leaves the names in
the directory. On the next boot, init scripts which clear out certain
directories fail, and various daemons fail to start because of it.

It seems that the only solution is to force a fsck at boot:

shutdown -F -r now

should do the trick.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

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

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