Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 21:47:15 +0100
From:      Christer Solskogen <christer.solskogen@gmail.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)
Message-ID:  <AANLkTimJwT6pShtC2c-O2=a=78LBB8%2Bm=WoFQXTkOqk9@mail.gmail.com>
In-Reply-To: <20110126204233.GN75125@dan.emsphone.com>
References:  <4D3FDE82.4000105@mail.zedat.fu-berlin.de> <AANLkTi=udjU-MKEU%2BAHU2DyyLL3sMVcKbT3WsLGW7YTN@mail.gmail.com> <20110126195800.GM75125@dan.emsphone.com> <AANLkTimgbVvsFjc-FSdSoKe3cC6uNYNavvL1-WaCRSn4@mail.gmail.com> <20110126204233.GN75125@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson <dnelson@allantgroup.com> wrote=
:

> ZFS lets you add and detach mirrors on the fly, since you're not changing
> the capacity of the pool itself. =A0Sure, you're going to lose the conten=
ts of
> the large 2TB drive, but that's sort of assumed. =A0You can't convert 4TB=
 of
> non-mirrored disks into 2TB of mirrored disks without losing 2TB of space=
.
> Just make sure you have less than 2TB total used data on all volumes, and
> copy the data off the 2TB filessytem onto the striped 1+1TB one before
> repartitioning and adding the mirrors.
>
> =A0zpool attach [-f] pool device new_device
>

The problem is that you cant attach a drive to a vdev that consists of
two striped disks.

--=20
chs,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimJwT6pShtC2c-O2=a=78LBB8%2Bm=WoFQXTkOqk9>