SU+J Lost files after a power failure
rwmaillists at googlemail.com
Mon Oct 14 19:41:28 UTC 2013
On Mon, 14 Oct 2013 11:48:18 -0700
Charles Swiger wrote:
> Yes. Without journalling, you'd normally perform the full
> timeconsuming fsck in the foreground.
Journalling removes the need for the background fsck which only recovers
> With journalling, it should be
> able to do a journal replay to restore the filesystem to an OK state,
My understanding is that the journal does nothing to restore the
filesystem other than keep track of orphaned memory. In all other
respect it's the job of soft-updates to keep the filesystem in an OK
state. When it doesn't you need a foreground check.
> but sometimes that doesn't restore consistency, in which case it
> usually fires off a background fsck rather than the foreground fsck.
I think if the journal fails, you would really need to run at least a
foreground preen, maybe a full fsck.
More information about the freebsd-questions