From owner-freebsd-stable@FreeBSD.ORG Wed Sep 2 08:49:29 2009 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 2AD8D106568D for ; Wed, 2 Sep 2009 08:49:29 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id B1D448FC1B for ; Wed, 2 Sep 2009 08:49:28 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MilWx-0003Sv-F9; Wed, 02 Sep 2009 10:49:27 +0200 Received: from bowser ([192.168.0.1] helo=[0.0.0.0]) by mapper.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MilWd-000GaT-Uw; Wed, 02 Sep 2009 10:49:08 +0200 Message-ID: <4A9E3181.9030601@mapper.nl> Date: Wed, 02 Sep 2009 10:49:05 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Thomas Backman References: <061541E3-F301-46C4-8ECB-5B05854F0EAA@exscape.org> <4A9D558A.9070609@quip.cz> <4A9E1CB5.6030906@mapper.nl> <20090902074445.GA13588@dmr.ath.cx> <4A9E2C7C.6030904@mapper.nl> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1730779D28C2B6405EFF9CF4" Cc: freebsd-stable@freebsd.org, Emil Mikulic , Miroslav Lachman <000.fbsd@quip.cz>, Maciej Jan Broniarz Subject: Re: zfs on gmirror slice 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: Wed, 02 Sep 2009 08:49:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1730779D28C2B6405EFF9CF4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thomas Backman wrote: > On Sep 2, 2009, at 10:27 AM, Mark Stapper wrote: > >> > Nothing a LiveCD or something to that regard can't handle. Obviously > this doesn't work for everyone, but it should for many. Actually it won't because updating zfs comes with updating your world. After updating you world, you will be running a newer ZFS version then the one that come with the RELEASE install, hence the need to update your zfs filesystems. Incidentally, the livefs CD contains the "old" zfs version. You see where I'm going? You could, of course, copy the base system to a USB drive, boot from it, and so sidestep the whole "can't unmount root" problem, but it's hard to insert a USB device over ssh... ... ... >> self-healing sounds very nice, but with mirrorring you have data on tw= o >> discs, so in that case there no "healing" involved, it's just >> checksumming and reading the non-corrupted copy. >> From the gmirror manpage: "All operations like failure detection, stal= e >> component detection, rebuild of stale components, etc. are also done >> automatically." >> This would indicate the same functionality, with a much less fancy nam= e. >> However, i have not tested it the way they demonstrate zfs's >> "self-healing" property. >> I might, if I get the time to run it in a virtual machine one of these= >> days.. > If ZFS finds a corrupted copy and a non-corrupted one in a mirrored > ZFS pool, it will repair the damage so that both copies are valid, so > yes, self-healing will indeed occur. :) I'm feeling Shakespearean again... My point was that I find "self-healing" too magic sounding. While indeed it means:"Automatic data error detection and rebuilding" or something along those lines. We don't call the automatic remapping of bad sectors in HDD's "self-healing" do we= ? Alas, I must admit that on file-system level, some "healing" does take place. --------------enig1730779D28C2B6405EFF9CF4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqeMYMACgkQN9xNqOOVnWCNywCfa3vC2xSWQI/l0aPmYfxqD4hS mUsAoJYAij0rOeRTvApvaEKm6irTGrJ0 =6FGh -----END PGP SIGNATURE----- --------------enig1730779D28C2B6405EFF9CF4--