Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 2024 13:44:04 -0500
From:      Wes Morgan <morganw@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: Unable to replace drive in raidz1
Message-ID:  <B301A631-071E-41E0-BC02-ABB03E579889@gmail.com>
In-Reply-To: <780A9427-C9BA-481F-9139-992B323F863B@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> <780A9427-C9BA-481F-9139-992B323F863B@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On September 6, 2024 1:35:22 PM CDT, Chris Ross <cross+freebsd@distal=2Eco=
m> wrote:
>
>
>> On Sep 6, 2024, at 14:21, Chris Ross <cross+freebsd@distal=2Ecom> wrote=
:
>> NAME                      STATE     READ WRITE CKSUM
>> tank                      DEGRADED     0     0     0
>> 16506780107187041124    DEGRADED     0     0     0
>>   9127016430593660128   FAULTED      0     0     0  external device fau=
lt
>>   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 i=
n replacing/spare config; wait for completion or use 'zpool detach=E2=80=99
>
>
>Another related question=2E  I can (and just did) =E2=80=9Cglabel create=
=E2=80=9D so the =E2=80=9Cnew=E2=80=9D disk
>that is called da10, but is still in chassis drive slot 3 where da3 _used=
_ to be=2E
>Now the new disk can be descirbed as =E2=80=9Clabel/drive03=E2=80=9D=2E  =
This is what I do with
>ext4 labels on Linux machines on similar hardware=2E
>
>Can I add labels to the ZFS devices without hurting them?  glabel says it
>overwrites the last sector with label information it manages=2E  Is there=
 space
>on a disk that is used entirely for a ZFS device?

No, do not do this=2E Do not do anything at all to a device if the entire =
device will be assigned to a pool=2E=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B301A631-071E-41E0-BC02-ABB03E579889>