From owner-freebsd-current@FreeBSD.ORG Mon May 14 18:50:19 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 331A516A400 for ; Mon, 14 May 2007 18:50:19 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8B213C4AE for ; Mon, 14 May 2007 18:50:18 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep01.bredband.com with ESMTP id <20070514185017.DKRW28445.mxfep01.bredband.com@ironport.bredband.com> for ; Mon, 14 May 2007 20:50:17 +0200 Received: from c-5416e555.03-51-73746f3.cust.bredbandsbolaget.se (HELO scode.mine.nu) ([85.229.22.84]) by ironport.bredband.com with ESMTP; 14 May 2007 20:50:17 +0200 Received: from scode.mine.nu (localhost [127.0.0.1]) by scode.mine.nu (Postfix) with ESMTP id 6EBEE1BA0A; Mon, 14 May 2007 20:50:16 +0200 (CEST) Message-ID: <4648AF5F.9050306@infidyne.com> Date: Mon, 14 May 2007 20:50:07 +0200 From: Peter Schuller User-Agent: Thunderbird 2.0.0.0 (X11/20070501) MIME-Version: 1.0 To: Bakul Shah References: <20070512200428.E996A5B3E@mail.bitblocks.com> In-Reply-To: <20070512200428.E996A5B3E@mail.bitblocks.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigFDCEB8FE72C47B744499F5B7" Cc: freebsd-current@freebsd.org, efinley@efinley.com Subject: Re: ZFS the perfect FS? if only... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 18:50:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFDCEB8FE72C47B744499F5B7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > I believe raidz2 means two parity blocks so if you want 50% > parity you'd need raidz4. But that nit aside, you have a > valid point. Yes, sorry. I was kind of continuing a train of thought I have had previously that was not specific to raidz2. > It is not obvious at all that performance would not be a goal > for a freebsd user! Of course most people care somewhat for performance, but sometimes you truly are not really that interested in getting better performance than say a single disk. That is, performance is not always the goal of setting up a raids, even if it will always be a nice bonus. > It *is* obvious that you would want more space but not obvious > how to do the conversion from an N disk raidz2 array to N+1 > disk raidz2 array *without bringing the whole array down*. I realize it is not trivial to implement; but I do mean that even if performance is adversely affected for an extended period of time, being able to *do* the conversion at all is often very useful. And even if it has to be be brought offline, that's still better than not being able to do it at all... > Even you may care about the array being down for hours/days! =2E.. but yes, that will be annoying in almost any circumstance. :) > Thinking more about this, I believe this can be done without > adding too many complications. Proof left as an exercise:-) With a traditional raid5/6 it shouldn't be too hard doing a hare/tortoise re-write from beginning to end provided that you have reserved some bit of space on the underlying disks for being able to do this in a crash-safe manner - or am I missing something? In practice I can imagine that it quickly gets complicated of course; especially supporting it online. If nothing else, the fact that most implementations don't support this is probably saying something :) Wonder if raidz/raidz2 will allow striping to vary on a per-stripe basis. If so, should it perhaps be just a matter of re-writing the entire tree with the new disk in place? But then perhaps snapshots/clones will complicate matters. Come to think of it, I think this was already discussed on zfs-discuss. --=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --------------enigFDCEB8FE72C47B744499F5B7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGSK9nDNor2+l1i30RCP/HAJ9HxsDDjn6B1Z3VOUR42QHUwpYzYgCgwLTu p2LYIzYxUJPhFccHGo5y9/s= =EqcM -----END PGP SIGNATURE----- --------------enigFDCEB8FE72C47B744499F5B7--