From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 14:06:06 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0D8489F7 for ; Fri, 11 Jan 2013 14:06:06 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id ABEE9CF6 for ; Fri, 11 Jan 2013 14:06:05 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id r0BE5vxe085104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 11 Jan 2013 15:06:02 +0100 (CET) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id r0BE5v6F085103 for freebsd-current@freebsd.org; Fri, 11 Jan 2013 15:05:57 +0100 (CET) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Fri, 11 Jan 2013 15:05:57 +0100 From: Paul Schenkeveld To: freebsd-current@freebsd.org Subject: Re: Expanding ZFS RAIDZ on the fly? Message-ID: <20130111140557.GA63102@psconsult.nl> References: <50EFBAEA.3070200@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Jan 2013 14:06:06 -0000 On Fri, Jan 11, 2013 at 10:39:10AM +0000, Tom Evans wrote: > On Fri, Jan 11, 2013 at 7:10 AM, O. Hartmann > wrote: > > My question may sound naiv, sorry. > > > > I have already set up a RAIDZ (on FreeBSD 10.0-CUR), comprised with > > three 3 TB disks. I'd like to expand the array with an additional disk - > > on the fly. > > > > oh > > > > It's not possible to expand by just 1 disk. Expanding with another 3 > disks is possible though, or "backup, destroy, create, restore". > > Expanding or reducing the number of disks in a raidz is the mythical > block pointer rewrite functionality, google will tell more. Another growth path is replacing each of the existing disks by larger ones and resilvering the data with 'zpool replace ...'. Having a spare drive bay is really a help so if you wanted to add just a 4th drive because you've only one bay left you should consider leaving that one unoccupied so you can easily grow to bigger disks now or in the future. HTH Paul Schenkeveld