From owner-freebsd-fs@FreeBSD.ORG Mon Nov 30 21:08:37 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4076C106566C for ; Mon, 30 Nov 2009 21:08:37 +0000 (UTC) (envelope-from james-freebsd-fs2@jrv.org) Received: from mail.jrv.org (adsl-70-243-84-13.dsl.austtx.swbell.net [70.243.84.13]) by mx1.freebsd.org (Postfix) with ESMTP id D202E8FC12 for ; Mon, 30 Nov 2009 21:08:36 +0000 (UTC) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by mail.jrv.org (8.14.3/8.14.3) with ESMTP id nAUL8ZlE067299; Mon, 30 Nov 2009 15:08:35 -0600 (CST) (envelope-from james-freebsd-fs2@jrv.org) Authentication-Results: mail.jrv.org; domainkeys=pass (testing) header.from=james-freebsd-fs2@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=S2YirZhpEB9E/rjUIdQ+DESfdmo59TbAj6zBAxJihQ5fbT5FYKKZ1vhyBzVHP7914 ELS/v6Rpu+lSbB/2DlSoCA4o5NsmgnWFezjyMnN9iwGlrQ7NuNLeS/gCE3BFFAbZ/cg 6iBSwQdjaO3uQbm42s1wgBsL6OL9P9fW+E0I9KI= Message-ID: <4B143453.5090603@jrv.org> Date: Mon, 30 Nov 2009 15:08:35 -0600 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Zaphod Beeblebrox References: <2ae8edf30911300120x627e42a9ha2cf003e847d4fbd@mail.gmail.com> <4B139AEB.8060900@jrv.org> <2ae8edf30911300425g4026909bm9262f6abcf82ddcd@mail.gmail.com> <5f67a8c40911301233s46a2818at9051c4ebbacf7e25@mail.gmail.com> In-Reply-To: <5f67a8c40911301233s46a2818at9051c4ebbacf7e25@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs Subject: Re: ZFS guidelines - preparing for future storage expansion X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 21:08:37 -0000 Zaphod Beeblebrox wrote: > I moved from 5x 750G to 5x 1.5T disks this way earlier this year. > [...] And keep in mind that while you're upgrading, you're vulnerable > to data loss (no more replicas). This is one of the (many) reasons I prefer mirrors rather than parity (RAID-5). You can "attach" the new drive, wait for the resilver to complete, then detach the old drive - never having fewer than two drives in the mirror. And of course you can gain space in the pool as each mirror is upgraded whereas a parity group (RAIDZ) usually involves more drives. Note that the zpool(1) man page says of the "Replace" command: "Replaces old_device with new_device. This is equivalent to attaching new_device, waiting for it to resilver, and then detaching old_device". This is not quite true: the reads for the resilver come from all available devices if you do attach/detach, but do not come from old_device if you do "replace". This is for MIRRORs; I'm not sure how RAIDZ behaves.