public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* e2fsck and human intervention
@ 2007-03-05 16:26 Daniel Drake
  2007-03-05 16:48 ` Theodore Tso
  2007-03-06  2:40 ` Andreas Dilger
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Drake @ 2007-03-05 16:26 UTC (permalink / raw)
  To: linux-ext4

Hi,

I'm working with ext3 partitions in a product environment, where
numerous embedded Linux systems will be shipped to various locations.

In testing we occasionally find that system boot is halted by e2fsck
with an "UNEXPECTED INCONSISTENCY" error message. This is while running
in preen mode.

This usually happens during e2fsck's regular "check every X mounts"
thing, as opposed to immediately after booting up after power loss, so
to begin with it's not immediately obvious why there is a problem.

It's of course understandable and inevitable that power loss will
occasionally cause some file loss or corruption, and that's fine. My
main concern is that fsck is halting the boot process, and in a product
scenario this would require an engineer to perform a service call. If
e2fsck could unconditionally perform a best-effort attempt at solving
the problems, it would be ideal.

Are there any better approaches than something like the following?

1. Run "e2fsck -p /"

2. If bit 3 is set in exit code (i.e. preen functionality detected
unexpected inconsistency) then run "e2fsck -y /"

Is there significant risk of further data loss through using -y than
might be experienced otherwise?

Thanks!
-- 
Daniel Drake
Brontes Technologies, A 3M Company

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-07  5:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 16:26 e2fsck and human intervention Daniel Drake
2007-03-05 16:48 ` Theodore Tso
2007-03-05 17:01   ` Daniel Drake
2007-03-05 17:42   ` Sev Binello
2007-03-06  2:40 ` Andreas Dilger
2007-03-06 14:27   ` Daniel Drake
2007-03-07  5:19     ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox