From owner-freebsd-fs@FreeBSD.ORG Tue Apr 14 18:13:46 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 494801DE; Tue, 14 Apr 2015 18:13:46 +0000 (UTC) Received: from webmail2.jnielsen.net (webmail2.jnielsen.net [50.114.224.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "webmail2.jnielsen.net", Issuer "freebsdsolutions.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 265CC9D6; Tue, 14 Apr 2015 18:13:45 +0000 (UTC) Received: from [10.10.1.196] (office.betterlinux.com [199.58.199.60]) (authenticated bits=0) by webmail2.jnielsen.net (8.15.1/8.15.1) with ESMTPSA id t3EIDfeA088917 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Apr 2015 12:13:43 -0600 (MDT) (envelope-from lists@jnielsen.net) X-Authentication-Warning: webmail2.jnielsen.net: Host office.betterlinux.com [199.58.199.60] claimed to be [10.10.1.196] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: =?utf-8?Q?Re=3A_ZFS=3A_replace_all_disks_on_new=2C_larger_ones?= =?utf-8?Q?=2C_in_mirror_or_zraid=5B2=5D_=E2=80=94_will_it_work?= =?utf-8?Q?=3F?= From: John Nielsen In-Reply-To: <552D56E0.2040307@FreeBSD.org> Date: Tue, 14 Apr 2015 12:13:40 -0600 Cc: freebsd-fs@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <58B1231B-5408-443F-B5E3-4086CE618D47@jnielsen.net> References: <552D56E0.2040307@FreeBSD.org> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 18:13:46 -0000 On Apr 14, 2015, at 12:05 PM, Lev Serebryakov wrote: > Say, I have ZFS pool consist of raidz vdev with 3x1TB disks. It is > 2Tb effective storage space, right? Now I could remove 1 disk (as > failed one) and replace it with new, 2TB HDD. After resilvering I > could replace second 1TB HDD, and, then, third one. Now I have raidz > vdev with 3x2TB disks. Will I have 4TB effective storage space in my = poo > l? >=20 > I know, that it is impossible to add NEW disk to raidz, but here is > replacement smaller disks with larger ones, one-by-one. >=20 > The same question could be asked about mirror and raidz2/raidz3 :) Yes, that is the recommended way to increase the capacity of an existing = vdev and I have done that more than once. Once you have replaced all the = devices and the vdev is finished resilvering, a =E2=80=9Czpool online -e = =E2=80=A6=E2=80=9D will make the additional space available. JN