Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 16:42:21 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Chris H <chris#@1command.com>
Cc:        mlerota@claresco.hr, freebsd-stable@freebsd.org
Subject:   Re: Constant rebooting after power loss
Message-ID:  <AANLkTi=6pqRwJ96Lg=603cYg_f8QUXkg8aXtbjbYpFrV@mail.gmail.com>
In-Reply-To: <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com>
References:  <87d3l6p5xv.fsf@cosmos.claresco.hr> <AANLkTi=kEyz-mKLzdV8LAf91ZhMTP8gLKs=3Eu5WD8mh@mail.gmail.com> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <AANLkTi=KEwmm1hM6Z=r_SWUAn9KhUrkTVzfF6VmqQauW@mail.gmail.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 1, 2011 at 4:21 PM, Chris H <chris#@1command.com> 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:

http://www.sun.com/bigadmin/features/articles/zfs_part1.scalable.jsp

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

-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=6pqRwJ96Lg=603cYg_f8QUXkg8aXtbjbYpFrV>