Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 21:43:21 -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:  <Yt31ObeWipRsQDUa@neutralgood.org>
In-Reply-To: <20220725001515.7d33464df2bc271ea364bd8b@sohara.org>
References:  <6baba52f-309a-4ebd-aef5-5b513470a48c@www.fastmail.com> <20220724160608.5e0a288a8c279b1f3348f890@sohara.org> <Yt3IFwXDz8bne2TH@neutralgood.org> <20220725001515.7d33464df2bc271ea364bd8b@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 25, 2022 at 12:15:15AM +0100, Steve O'Hara-Smith wrote:
> On Sun, 24 Jul 2022 18:30:47 -0400
> "Kevin P. Neal" <kpn@neutralgood.org> wrote:
> 
> > 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?
> 
> 	From the manpage of zpool-remove on a 13.1 box:

Ah. Well, there's my answer. I'm running 12.3 and it isn't there. That
gives me something to look forward to when I upgrade. :)

Thanks!
-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/
           On the community of supercomputer fans:
"But what we lack in size we make up for in eccentricity." 
  from Steve Gombosi, comp.sys.super, 31 Jul 2000 11:22:43 -0600



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