Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 18:30:47 -0400
From:      "Kevin P. Neal" <kpn@neutralgood.org>
To:        "Steve O'Hara-Smith" <steve@sohara.org>
Cc:        questions@freebsd.org, void@f-m.fm
Subject:   Re:  zpool query
Message-ID:  <Yt3IFwXDz8bne2TH@neutralgood.org>
In-Reply-To: <20220724160608.5e0a288a8c279b1f3348f890@sohara.org>
References:  <6baba52f-309a-4ebd-aef5-5b513470a48c@www.fastmail.com> <20220724160608.5e0a288a8c279b1f3348f890@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 24, 2022 at 04:06:08PM +0100, Steve O'Hara-Smith wrote:
> On Sun, 24 Jul 2022 13:35:29 +0000
> void <void@f-m.fm> wrote:
> 
> > Hi,
> > 
> > I'd like to convert a zpool made of two striped disks and make it so that
> > they are a mirror.

> 	Provided there is not too much data then you can use zpool remove
> to remove one drive from the stripe - this will take time because all the
> data has to be copied and it will fail if there isn't room for it all.
> 
> 	Once the drive is removed you can use zpool attach to add it as a
> mirror of the other drive.
> 
> 	Full disclosure - this is as documented I've never needed to do it.

When did this start to work? The man page zpool(8) doesn't say it works for
striped vdevs. It seems quite useful for people who used the wrong verb and
ended up with a striped vdev instead of a mirror, which has happened on this
list before.

Would "void" by any chance verify that it works and let us know?
-- 

"You know what I mean." -- US patent 8,011,992B2, "Apparatus For Facilitating
The Construction Of A Snow Man/Woman"



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