Constant rebooting after power loss

Adam Vande More amvandemore at
Fri Apr 1 21:42:23 UTC 2011

On Fri, Apr 1, 2011 at 4:21 PM, Chris H <> wrote:

> >
> Greetings,
>  Not to sound disagreeable, but
> if I interrupt the power during a disk write, no amount of ZFS will insure
> that
> the hardware completes it's write without electricity. Nor will any amount
> of
> ZFS prevent data corruption as a result of that interrupted write.

As already stated, if the write doesn't complete, the transaction group is
rolled back to the last consistent state, so no corruption.  There is plenty
of literature of subject of how ZFS works internally to insure this:

ZFS's capabilities may seem contrary to your opinion, but properly
implemented it does exactly what you say it cannot do.

Adam Vande More

More information about the freebsd-stable mailing list