Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Aug 2011 11:10:34 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS zpool mirror drive replacement confusion
Message-ID:  <CA%2BtpaK2wkoD3axNK=jxdOdWz2UV8210q=3mssrh%2B2OohcxpXpw@mail.gmail.com>
In-Reply-To: <20110811160314.GA25076@cons.org>
References:  <20110811160314.GA25076@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 11, 2011 at 11:03 AM, Martin Cracauer <cracauer@cons.org> wrote:

>        NAME        STATE     READ WRITE CKSUM
>        cbackup3    DEGRADED     0     0     0
>          mirror    DEGRADED     0     0     0
>            ad6     ONLINE       0     0     0
>            ad10    REMOVED      0     0     0
>          ad2       ONLINE       0     0    11
>
> Unfortunately I didn't keep note of the specific command that I used.
>
> Two questions:
>
> - Does somebody know offhand what I did and what I should have done
>  instead to get ad2 into the mirror?
>

What you did is add a disk to the zpool, not the mirror.


> - Would there have been a way to remove ad2 from this set?
>

I'm not sure of a way to remove the vdev other than to recreate from scratch
but perhaps the new features of zpool v28 allow for some forgiveness here.

-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2wkoD3axNK=jxdOdWz2UV8210q=3mssrh%2B2OohcxpXpw>