[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ext3 sometimes failed



Hi,

On Tue, May 14, 2002 at 09:43:08AM -0600, Simon Gao wrote:
 
> Can someone help explain why sometimes ext3 failed to recover from a 
> sudden loss of power (ie. has to run lengthy fsck on paritions)? This 
> happened to Redhat 7.2, 7.3 with latest stable kernel.

This can be for several reasons, but the fsck will always tell you why
it is doing it, so you'll need to keep your eye open for those
messages.

Reasons can include disk corruption caught by the filesystem --- the
fs will mark the partition as having seen errors, and the next fsck
will do a full check to recover.  Or, the filesystem may be marked to
have regular fscks on it, either every so-many mounts or after a
certain interval has passed --- "man tune2fs" to see how to change
those limits or to disable them.

e2fsck will always print a message something like "/dev/foo contains a
filesystem with errors, check forced" or "/dev/foo has been mounted 33
times since the last check, check forced" to tell you why it is doing
the check.

Cheers,
 Stephen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]