Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2009 01:40:18 +0300
From:      Dan Naumov <dan.naumov@gmail.com>
To:        Andrew Snow <andrew@modulus.org>
Cc:        Randy Bush <randy@psg.com>, freebsd-fs@freebsd.org
Subject:   Re: adding drive to raidz1
Message-ID:  <cf9b1ee00906181540w746edafi4a560b0925b14e27@mail.gmail.com>
In-Reply-To: <4A3ABF76.3020905@modulus.org>
References:  <m2bpol6v8r.wl%randy@psg.com> <4A3ABF76.3020905@modulus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
To reiterate, you cant just add a single disk drive to a raidz1 or
raidz2 pool. This is a known limitation (you can check with SUN ZFS
docs). If you have an existing raidz and you MUST increase that
particular pool's storage capabilities, you have 3 options:

1) Add a raidz of the same configuration to the pool (think 3 disk
raidz + 3 disk raidz or 5 + 5, for example)
2) Replace each (and every) disk in your raidz pool one by one,
letting it resilver after inserting each upgraded disk
3) Backup your data, destroy your pool and create a new raidz pool
with a bigger amount of disks.


- Dan Naumov




On Fri, Jun 19, 2009 at 1:28 AM, Andrew Snow<andrew@modulus.org> wrote:
> Randy Bush wrote:
>>
>> so, i made the jet-lagged mistake of saying
>>
>> =A0 =A0# zpool add tank ad7s1
>> when i wanted to add it to the raidz1.
>>
>> =A0 =A0# zpool remove tank ad7s1
>> =A0 =A0cannot remove ad7s1: only inactive hot spares or cache devices ca=
n be
>> removed
>> =A0 =A0# zpool offline tank ad7s1
>> =A0 =A0cannot offline ad7s1: no valid replicas
>>
>> how do i pry it off of the pool and stick it into the raidz1?
>
>
> *braces* =A0You can't, without recreating the whole zpool.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf9b1ee00906181540w746edafi4a560b0925b14e27>