Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2015 12:13:40 -0600
From:      John Nielsen <lists@jnielsen.net>
To:        lev@FreeBSD.org
Cc:        freebsd-fs@freebsd.org
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?=
Message-ID:  <58B1231B-5408-443F-B5E3-4086CE618D47@jnielsen.net>
In-Reply-To: <552D56E0.2040307@FreeBSD.org>
References:  <552D56E0.2040307@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 14, 2015, at 12:05 PM, Lev Serebryakov <lev@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58B1231B-5408-443F-B5E3-4086CE618D47>