Re: Unable to replace drive in raidz1

From: Alan Somers <asomers_at_freebsd.org>
Date: Fri, 06 Sep 2024 23:09:14 UTC
On Fri, Sep 6, 2024 at 4:53 PM Chris Ross <cross+freebsd@distal.com> wrote:
>
>
>
> > On Sep 6, 2024, at 18:28, Alan Somers <asomers@freebsd.org> wrote:
> >
> > If it's a 4kn disk, then what you ask for is impossible.  If it's
> > 512e, then it should've already worked.  With diskinfo, a 512e disk
> > will have 512 sectorsize and 4096 stripesize.  A 4kn disk will show
> > 4096 sectorsize.  If you cannot obtain a 512n or 512e disk, then I'm
> > afraid that you'll have to recreate your whole pool.
>
> Hmm.  Okay.  Though there are 6TB disks in the other array that are
> quite old, I’m pretty sure could work in 512e mode, but diskinfo shows
> a 4096 sectorsize for those too.   Oh well, I could be wrong about
> how they work.
>
> I can definately find another drive, likely even of the correct size.
> But, that breaks my plan to increase the size of the pool by
> replacing disks.  Am I correct that FreeBSD offers no way to
> remove raidz vdev’s from a pool?

Correct.

> If it could I could try to construct
> some sort of new pool a piece at a time.  But if it does not, then
> there is nothing I can do I assume.  :-/
>
> Happy to hear other thoughts.  I could move all of the data to
> another system and rebuild it with a new vdev, but I’m not sure
> if I care to grow the FS enough to do that.  :-)
>
>                  - Chris
>
>