From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-49945-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S1Puo-00069I-Uz
	for garchives@archives.gentoo.org; Sat, 25 Feb 2012 22:16:31 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9671BE0DF9;
	Sat, 25 Feb 2012 22:16:21 +0000 (UTC)
Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id C8028E0D9A
	for <gentoo-dev@lists.gentoo.org>; Sat, 25 Feb 2012 22:15:52 +0000 (UTC)
Received: by bkwj10 with SMTP id j10so319304bkw.40
        for <gentoo-dev@lists.gentoo.org>; Sat, 25 Feb 2012 14:15:52 -0800 (PST)
Received-SPF: pass (google.com: domain of freemanrich@gmail.com designates 10.204.129.71 as permitted sender) client-ip=10.204.129.71;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of freemanrich@gmail.com designates 10.204.129.71 as permitted sender) smtp.mail=freemanrich@gmail.com; dkim=pass header.i=freemanrich@gmail.com
Received: from mr.google.com ([10.204.129.71])
        by 10.204.129.71 with SMTP id n7mr3626043bks.91.1330208152030 (num_hops = 1);
        Sat, 25 Feb 2012 14:15:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        bh=twalifFNk3F3ZMQAlAC+wJj0e+vcOxSaeoWtIGfbo7g=;
        b=e/UFsztspJM0wv0pgjE8Rt5qQGV+u8sRQKhksMN6QeCYpWuxGt10sVjqIFgYwygL6T
         VfZq599zPbyvKrmvt+nhMjcPeUgF3hNca2YbX0mN0UrJv7qMp4mSQX0qkM6lhJFSLzT6
         CsHwRZYq8Pt3KlN0hMll7waCWwJDMoOWUUq+E=
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.129.71 with SMTP id n7mr2956111bks.91.1330208151913; Sat,
 25 Feb 2012 14:15:51 -0800 (PST)
Sender: freemanrich@gmail.com
Received: by 10.205.32.194 with HTTP; Sat, 25 Feb 2012 14:15:51 -0800 (PST)
In-Reply-To: <CABDyM6Qm1W71N2Qc8oChE+bwyZe07O6ZZB801FxhDkY66p45ng@mail.gmail.com>
References: <4F47CF5C.4070508@gentoo.org>
	<20120224154327.61c051ad@gentoo.org>
	<3a6095b4d48c4163bb912d6fd608059f@HUBCAS2.cs.stonybrook.edu>
	<CABDyM6Tm5rCE1PNLh4t4NCgJUvVU-Brvsg9xak-LWEUkeBtL9A@mail.gmail.com>
	<CAFWqQMTZ1=KYtRNYBgg6jg1V_+m+fNpSSerUi+XRiRNVz5P6Zg@mail.gmail.com>
	<a3057f9fcd394ed1bb10ab9acd2d72a3@HUBCAS2.cs.stonybrook.edu>
	<CABDyM6T2qsYzOQycyooQM1nJArDaRpF9GdeyrY1o+fvVCPVtqQ@mail.gmail.com>
	<3e5f8f3a918f417e977c7a6f535ea738@HUBCAS2.cs.stonybrook.edu>
	<CABDyM6Qm1W71N2Qc8oChE+bwyZe07O6ZZB801FxhDkY66p45ng@mail.gmail.com>
Date: Sat, 25 Feb 2012 17:15:51 -0500
X-Google-Sender-Auth: ta94G6fUX4LogxqsYUOiSmDjILM
Message-ID: <CAGfcS_n0posgXSP+BF7RLV2D_aeCXtZdioGEy92W_u4M08VTKg@mail.gmail.com>
Subject: Re: [gentoo-dev] preserve_old_lib and I'm even more lazy
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 4c9a0f08-8862-4117-8162-85a333dcf396
X-Archives-Hash: 3fa25c80471590d43271063b0c5b4438

On Sat, Feb 25, 2012 at 4:56 PM, Richard Yao <ryao@cs.stonybrook.edu> wrote:
> raidz has 3 varieties, which are single parity, double parity and
> triple parity. As for reshaping, ZFS is a logical volume manager. You
> can set and resize limits on ZFS datasets as you please.

That isn't my understanding as far as raidz reshaping goes.  You can
create raidz's and add them to a zpool.  You can add individual
drives/partitions to zpools.  You can remove any of these from a zpool
at any time and have it move data into other storage areas.  However,
you can't reshape a raidz.

Suppose I have a system with 5x1TB hard drives.  They're merged into a
single raidz with single-parity, so I have 4TB of space.  I want to
add one 1TB drive to the array and have 5TB of single-parity storage.
As far as I'm aware you can't do that with raidz.  What you could do
is set up some other 4TB storage area (raidz or otherwise), remove the
original raidz, recycle those drives into the new raidz, and then move
the data back onto it.  However, doing this requires 4TB of storage
space.  With mdadm you could do this online without the need for
additional space as a holding area.

ZFS is obviously a capable filesystem, but unless Oracle re-licenses
it we'll never see it take off on Linux.  For good or bad everybody
seems to like the monolithic kernel.  Btrfs obviously has a ways to go
before it is a viable replacement, but I doubt Oracle would be sinking
so much money into it if they intended to ever re-license ZFS.

Rich