From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 21:42:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D02C81065673 for ; Fri, 1 Apr 2011 21:42:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0198FC0C for ; Fri, 1 Apr 2011 21:42:22 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 12so3465473bwz.13 for ; Fri, 01 Apr 2011 14:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5nO46j3uvGt7h5aHhbsfByyylEMefb/j5c6/0Wg8+HY=; b=oePMC1e3eMc2CXmktC+NyyqCzJOgJSLeThaAZ6AaDcwXWkIZVjyzpUq1lXuZFBVtzC LCY2mipaEV1iqfr7Qm8TvfHhsWUKeuD3n2ns3Urj3mQfMjjUuG6wVFMZPWuMd6HYQvH7 gj17vTlpUn9iBysHvUpuAMuxorJm/s92IzKkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KbNILlwWHU7N4qMRQGh/MZ6JKlfJHeVDkALY3+7fVh/+zPNqf86Em/Zx7PQMB3YHke L1ItmxBhbvzG+z97ElFEvnpBaDnKVcxlhUtb/Ds+fvKsZTy857Bo+X1uW4DFqQAvw+m4 D2zotMIc4mhKt2C+jUoA1f5ZTLLFwFbJsnEwc= MIME-Version: 1.0 Received: by 10.204.136.1 with SMTP id p1mr139202bkt.105.1301694141975; Fri, 01 Apr 2011 14:42:21 -0700 (PDT) Received: by 10.204.118.200 with HTTP; Fri, 1 Apr 2011 14:42:21 -0700 (PDT) In-Reply-To: <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> Date: Fri, 1 Apr 2011 16:42:21 -0500 Message-ID: From: Adam Vande More To: Chris H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mlerota@claresco.hr, freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 21:42:23 -0000 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: 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