From owner-freebsd-stable@FreeBSD.ORG Wed Sep 2 08:27:48 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 C5C031065676 for ; Wed, 2 Sep 2009 08:27:48 +0000 (UTC) (envelope-from stark@mapper.nl) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3018FC0A for ; Wed, 2 Sep 2009 08:27:48 +0000 (UTC) Received: from [82.170.17.27] (helo=mapper.nl) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1MilBz-0007hY-Ci; Wed, 02 Sep 2009 10:27:47 +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 1MilBv-000GZ5-CA; Wed, 02 Sep 2009 10:27:43 +0200 Message-ID: <4A9E2C7C.6030904@mapper.nl> Date: Wed, 02 Sep 2009 10:27:40 +0200 From: Mark Stapper User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Emil Mikulic References: <061541E3-F301-46C4-8ECB-5B05854F0EAA@exscape.org> <4A9D558A.9070609@quip.cz> <4A9E1CB5.6030906@mapper.nl> <20090902074445.GA13588@dmr.ath.cx> In-Reply-To: <20090902074445.GA13588@dmr.ath.cx> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEA7C89C4DA7772BC1F62C3CE" Cc: Maciej Jan Broniarz , freebsd-stable@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, Thomas Backman 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:27:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEA7C89C4DA7772BC1F62C3CE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Emil Mikulic wrote: > On Wed, Sep 02, 2009 at 09:20:21AM +0200, Mark Stapper wrote: > =20 >> updating a zfs filesystem which you are running from is next to >> impossible. >> =20 > > [citation needed] :) > =20 Well, to update your zfs filesystem version, the filesystem is first unmounted, then updated, and then mounted again. citation coming up! # umount / umount: unmount of / failed: Invalid argument > =20 >> So, i would recommend setting up gmirror to mirror your whole disks, >> install the base system(boot and "world") on a small UFS slice, and us= e >> the rest of the disc as zfs slice. >> =20 > > As Thomas Backman pointed out, this means you won't get self-healing. > =20 self-healing sounds very nice, but with mirrorring you have data on two discs, so in that case there no "healing" involved, it's just checksumming and reading the non-corrupted copy. =46rom the gmirror manpage: "All operations like failure detection, stale= component detection, rebuild of stale components, etc. are also done automatically." This would indicate the same functionality, with a much less fancy name. 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.. > I don't know if a ZFS mirror performs smarter disk access scheduling > than gmirror. Someone oughta measure. ;) > =20 NCQ should help here, but still, very interesting. gmirror is fast though. I've even heard it's faster than software RAID1/ataraid. (not confirmed). Even if this is true, running zfs on top of gmirror probably isn't faster then running zfs with a mirrored pool. --------------enigEA7C89C4DA7772BC1F62C3CE 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/ iEYEARECAAYFAkqeLH4ACgkQN9xNqOOVnWB/RgCfd29VJcnGXFCP0pe3MUoG0fJm U6oAn3y+NPSeNeDAQzoEhJlupr9gKHTN =Vzij -----END PGP SIGNATURE----- --------------enigEA7C89C4DA7772BC1F62C3CE--