From owner-freebsd-fs@FreeBSD.ORG Sun Jun 28 09:08:21 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 B0914106571C for ; Sun, 28 Jun 2009 09:08:21 +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 6CF3A8FC26 for ; Sun, 28 Jun 2009 09:08:21 +0000 (UTC) (envelope-from james-freebsd-fs2@jrv.org) 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 n5S98KSQ060035; Sun, 28 Jun 2009 04:08:20 -0500 (CDT) (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=UvxMyWyUfzZMs5BdQ7cchTdZv6XLE6p+rXT0SylSN1d9LE/fDfmy3za2iT44G13yg EPL8EWftZ1OcdXDezjXA9kD9l4iHzflGxr+Y/tZRPxCySc1Fg8OPLUOhUPBtzAobxZK fPgKMy0gkjiflm7amnSlFi82/uPAC7SK4IHl1ZE= Message-ID: <4A4732F0.3060802@jrv.org> Date: Sun, 28 Jun 2009 04:08:00 -0500 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Zaphod Beeblebrox References: <380571.31027.qm@web51002.mail.re2.yahoo.com> <5f67a8c40906272318t2f27822dg3e30f7dc2345cb11@mail.gmail.com> In-Reply-To: <5f67a8c40906272318t2f27822dg3e30f7dc2345cb11@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs , Rafael Caesar Lenzi Subject: Re: Adding more disk's on ZFS array 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: Sun, 28 Jun 2009 09:08:22 -0000 Zaphod Beeblebrox wrote: > Not entirely true. For a RAID 0 stripe, yes, you can just add a disk. Be > clear, however, that existing data is not striped to that disk, but the new > disk is used for new data. > It's probably best not to think of a ZFS pool as a RAID 0 but instead as a set of vdev storage areas. All of the vdevs are candidates for new data writes, depending on free space, etc. > According to > documentation, each pool should be of the same RAID type. It doesn't, > however, specify that each set of RAID 5 disks should have the same number > of disks in it. This seems to mean that you could add a set of 3 disks > (raid 5) to an existing raid 5 array with 5 disks. > A pool is a set of vdevs, and different vdevs may be of a different type and have different characteristics. It is perfectly reasonable to create a pool with a single RAIDZ vdev and later add MIRROR vdevs, or any other kind of vdev. I prefer to use MIRRORs as the vdevs since it's easier to control exposure to various failure modes (power supply, enclosure, controller & disk firmware, etc).