Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2024 17:09:14 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Chris Ross <cross+freebsd@distal.com>
Cc:        Wes Morgan <morganw@gmail.com>, FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Unable to replace drive in raidz1
Message-ID:  <CAOtMX2gBZJTyQhOF6iVGbVPtRnco8HoqMVypsQEN=V2yE8SgQw@mail.gmail.com>
In-Reply-To: <DDC050E5-2F19-4162-9B84-91C6787453B7@distal.com>
References:  <5ED5CB56-2E2A-4D83-8CDA-6D6A0719ED19@distal.com> <AC67D073-D476-41F5-AC53-F671430BB493@distal.com> <CAOtMX2h52d0vtceuwcDk2dzkH-fZW32inhk-dfjLMJxetVXKYg@mail.gmail.com> <CB79EC2B-E793-4561-95E7-D1CEEEFC1D72@distal.com> <CAOtMX2i_zFYuOnEK_aVkpO_M8uJCvGYW%2BSzLn3OED4n5fKFoEA@mail.gmail.com> <6A20ABDA-9BEA-4526-94C1-5768AA564C13@distal.com> <CAOtMX2jfcd43sBpHraWA=5e_Ka=hMD654m-5=boguPPbYXE4yw@mail.gmail.com> <0CF1E2D7-6C82-4A8B-82C3-A5BF1ED939CF@distal.com> <CAOtMX2hRJvt9uhctKvXO4R2tUNq9zeCEx6NZmc7Vk7fH=HO8eA@mail.gmail.com> <29003A7C-745D-4A06-8558-AE64310813EA@distal.com> <42346193-AD06-4D26-B0C6-4392953D21A3@gmail.com> <E6C615C1-E9D2-4F0D-8DC2-710BAAF10954@distal.com> <E85B00B1-7205-486D-800C-E6837780E819@gmail.com> <E93A9CA8-6705-4C26-9F33-B620A365F4BD@distal.com> <50B791D8-F0CC-431E-93B8-834D57AB3C14@gmail.com> <E50559CA-CC3D-45AE-82D7-172270BF4851@distal.com> <CAOtMX2ihPqe9w%2BhbZ=GqOcmmN%2B8y9-%2Bqyew9CfZV9ajpGHZmXA@mail.gmail.com> <E22575F4-8731-471A-A714-D391BD043FA8@distal.com> <CAOtMX2iV7bG7E-uOOVsFVEzO7CDhRfHm12Y40EEQ25FYGxHFJA@mail.gmail.com> <DDC050E5-2F19-4162-9B84-91C6787453B7@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 6, 2024 at 4:53=E2=80=AFPM 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=E2=80=99m 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=E2=80=99s 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=E2=80=99m not sure
> if I care to grow the FS enough to do that.  :-)
>
>                  - Chris
>
>



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