ZFS zpool mirror drive replacement confusion

Adam Vande More amvandemore at gmail.com
Thu Aug 11 16:38:38 UTC 2011


On Thu, Aug 11, 2011 at 11:03 AM, Martin Cracauer <cracauer at 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


More information about the freebsd-fs mailing list