adding drive to raidz1
Dan Naumov
dan.naumov at gmail.com
Thu Jun 18 22:40:19 UTC 2009
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 at modulus.org> wrote:
> Randy Bush wrote:
>>
>> so, i made the jet-lagged mistake of saying
>>
>> # zpool add tank ad7s1
>> when i wanted to add it to the raidz1.
>>
>> # zpool remove tank ad7s1
>> cannot remove ad7s1: only inactive hot spares or cache devices can be
>> removed
>> # zpool offline tank ad7s1
>> cannot offline ad7s1: no valid replicas
>>
>> how do i pry it off of the pool and stick it into the raidz1?
>
>
> *braces* You can't, without recreating the whole zpool.
More information about the freebsd-fs
mailing list