Date: Fri, 6 Sep 2024 14:35:22 -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: <780A9427-C9BA-481F-9139-992B323F863B@distal.com> In-Reply-To: <29003A7C-745D-4A06-8558-AE64310813EA@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>
index | next in thread | previous in thread | raw e-mail
> On Sep 6, 2024, at 14:21, Chris Ross <cross+freebsd@distal.com> wrote:
> 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
> […]
> % 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’
> % 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’
Another related question. I can (and just did) “glabel create” so the “new” disk
that is called da10, but is still in chassis drive slot 3 where da3 _used_ to be.
Now the new disk can be descirbed as “label/drive03”. This is what I do with
ext4 labels on Linux machines on similar hardware.
Can I add labels to the ZFS devices without hurting them? glabel says it
overwrites the last sector with label information it manages. Is there space
on a disk that is used entirely for a ZFS device?
- Chris
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?780A9427-C9BA-481F-9139-992B323F863B>
