From nobody Fri Sep 6 18:21:06 2024 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0l0x3RxTz5VQRD for ; Fri, 06 Sep 2024 18:21:21 +0000 (UTC) (envelope-from cross+freebsd@relay.distal.com) Received: from relay.wiredblade.com (relay.wiredblade.com [168.235.95.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0l0w6DJCz4QXv; Fri, 6 Sep 2024 18:21:20 +0000 (UTC) (envelope-from cross+freebsd@relay.distal.com) Authentication-Results: mx1.freebsd.org; none dkim-signature: v=1; a=rsa-sha256; d=relay.distal.com; s=mail; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References; bh=71BFKHM9WzggFHIRluEaufEgF4+HLHsigY2bsGv0peU=; b=esD8lA5TK1cZDkaLetmQVHyCUXMqIZyzvIzTrqdD/2WDcIbcyRSvlHs28S51SJGxmMtMHNqL3w9si37gL1ICp5C38OZnc60UppOMI1Yo2DIBM2qc8wpyLJ09p27lnEheliWNZ0wQFCxFuwmfuFFpq7vjaBjKLuK4FmyNFP0G7Xl5R0GJnY641tGKRM69NGFC/Ml65L+khhCRq+k3tdu1JGRJnBU64Hh1jabz+PC0CQqeOqmm8lIMBrprnI yG/+5tkXTGggxGPmVO3m+/J8rZIW0NnKLdNsV4JpcK+T51jKU0fxnb64O3pX/D6tw7dV+SzhSRudTgWqxXNpE74s6/Ng== Received: from mail.distal.com (pool-108-51-233-124.washdc.fios.verizon.net [108.51.233.124]) by relay.wiredblade.com with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256) ; Fri, 6 Sep 2024 18:21:19 +0000 Received: from smtpclient.apple ( [2001:420:c0c4:1001::9f]) by tristain.distal.com (OpenSMTPD) with ESMTPSA id d36464d5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 6 Sep 2024 14:21:17 -0400 (EDT) Content-Type: text/plain; charset=utf-8 List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Unable to replace drive in raidz1 From: Chris Ross In-Reply-To: Date: Fri, 6 Sep 2024 14:21:06 -0400 Cc: mike tancsa , FreeBSD Filesystems Content-Transfer-Encoding: quoted-printable Message-Id: <29003A7C-745D-4A06-8558-AE64310813EA@distal.com> References: <5ED5CB56-2E2A-4D83-8CDA-6D6A0719ED19@distal.com> <6A20ABDA-9BEA-4526-94C1-5768AA564C13@distal.com> <0CF1E2D7-6C82-4A8B-82C3-A5BF1ED939CF@distal.com> To: Alan Somers X-Mailer: Apple Mail (2.3776.700.51) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[freebsd]; ASN(0.00)[asn:3842, ipnet:168.235.92.0/22, country:US] X-Rspamd-Queue-Id: 4X0l0w6DJCz4QXv > On Sep 6, 2024, at 14:08, mike tancsa 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 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 /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