Date: Fri, 6 Sep 2024 14:21:06 -0400 From: Chris Ross <cross+freebsd@distal.com> To: Alan Somers <asomers@freebsd.org> Cc: mike tancsa <mike@sentex.net>, FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: Re: Unable to replace drive in raidz1 Message-ID: <29003A7C-745D-4A06-8558-AE64310813EA@distal.com> In-Reply-To: <CAOtMX2hRJvt9uhctKvXO4R2tUNq9zeCEx6NZmc7Vk7fH=HO8eA@mail.gmail.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>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sep 6, 2024, at 14:08, mike tancsa <mike@sentex.net> wrote: >=20 > On 9/6/2024 2:06 PM, Chris Ross wrote: >> How can I map the diskid=E2=80=99s listed to the underlying = device?either by serial number or da#=E2=80=A6 >>=20 > What does=20 > glabel status That shows labels for many drives, though not da1 and da2, the remaining members of zraid1-0. Intersting. But, I hope the below Is the fix... > On Sep 6, 2024, at 14:10, Alan Somers <asomers@freebsd.org> wrote: >=20 > Ahh, this means that there are two different vdevs that can be > described by "da3". You can still refer to them unambiguously by guid > though. Do "zpool status -g" to find the guid of the disk that you > want to replace, and then do "zpool replace <GUID> /dev/da10=E2=80=9D Ahh, okay. That makes sense. I have ever only known how to replace = things using the key that "zpool status=E2=80=9D shows. Thanks for that! Oh. Trying, that doesn=E2=80=99t work either. :-/ NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 16506780107187041124 DEGRADED 0 0 0 9127016430593660128 FAULTED 0 0 0 external device = fault 4094297345166589692 ONLINE 0 0 0 17850258180603290288 ONLINE 0 0 0 [=E2=80=A6] % sudo zpool replace tank 9127016430593660128 /dev/da10 cannot replace 9127016430593660128 with /dev/da10: already in = replacing/spare config; wait for completion or use 'zpool detach=E2=80=99 % sudo zpool replace tank 9127016430593660128 diskid/DISK-ZGG0A2PA cannot replace 9127016430593660128 with diskid/DISK-ZGG0A2PA: already in = replacing/spare config; wait for completion or use 'zpool detach' Tried with /dev/da10, and the diskid for da10 reported by glabel status. - Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29003A7C-745D-4A06-8558-AE64310813EA>