From nobody Fri Sep 6 18:44:04 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 4X0lWG0vFBz5VTHJ for ; Fri, 06 Sep 2024 18:44:10 +0000 (UTC) (envelope-from morganw@gmail.com) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0lWF017Kz4hrl for ; Fri, 6 Sep 2024 18:44:09 +0000 (UTC) (envelope-from morganw@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=Jad41lJ3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of morganw@gmail.com designates 2607:f8b0:4864:20::1134 as permitted sender) smtp.mailfrom=morganw@gmail.com Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-6da395fb97aso23635097b3.0 for ; Fri, 06 Sep 2024 11:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725648248; x=1726253048; darn=freebsd.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=YthFJtUP+UlQtyVeFVmwcWHNnCifRp2cwCZs3i7PvHk=; b=Jad41lJ3UlPRMiMhWapdzvCn3NQLJEMbxBcP8bcn8nRDn4hRA11Ei2f+nts9+zmePQ 4qANPWgqYsFVTrORSaQ6At7PNKBYX06iHMVV10XY5Waamz7BF+c37RjZEsfkwcuwAuwe liCtQhpx5LEMquufeKOgcfe+Zw4Y3Q41CpuoyR+VM4tOo/WFr7+ZUVK2yylxrfGRtGDh sQVJGipKBba5CvdDIbvzYbGx19CaLqbJ2HrVeKkXZhabGaRIraz45vgVe+J9+TlwatU0 nLnPtoYuEALDIV7lOaxDE1o/TjOEAlLaseTgF5PVvq1f16tn9fMItvLEWBPQAR/7mfU8 2nwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725648248; x=1726253048; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:to:from:date:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=YthFJtUP+UlQtyVeFVmwcWHNnCifRp2cwCZs3i7PvHk=; b=H35qIAYLuhiA4EtUu0wGSXgNpx2qnaFop4OG6UMOnTisHRE/qtGfThCzOl+M0fYHtr Dh6MYQRa+rqsF2n0BLiQC/NYge7hrxlfG2pNGmBgL2ZvUCXmIZTRVUK9Ekl2Daaanx7J i4gifX6Ow1iRHVxsBRucJJcztShnI/Q8K85GNICeER3dyUJskteM52vMCEqp1D+J/of3 c3IzM3mTlxjPBfIcHroqyHRVgpajqtHSX8mpWSZJb2TCBtOwJagJpUv7ZjuwSI3cVf/E 1VQXNSv8Z8D2OBOd9CNugN0XAhR8pZYW5tQR/tBM4/78BKqcf8w5LwQIma8Apdy0VK6w dKHg== X-Gm-Message-State: AOJu0YyDcP1eaJfJEXJ6Y+dQ0M5aqrvGDZBCXfLriLLqnheCzvHo3ogH tBTPGjEiIIe0DFl+jyrhOlppYGZCqqs4xpkrawwYrYuzYIeHyHKAvIy7kNUM X-Google-Smtp-Source: AGHT+IF+ncNmGvoHAMi2IPj25rNic10nxjSSUnzbBrd/GM2T5FIOTcKTOBDDUVKu++W1DYZaMTS1sw== X-Received: by 2002:a05:690c:660c:b0:669:e266:2c55 with SMTP id 00721157ae682-6db44d62ab7mr45244827b3.5.1725648247898; Fri, 06 Sep 2024 11:44:07 -0700 (PDT) Received: from ?IPv6:::1? ([2600:381:642f:e2a:d8f2:e3e8:b579:a70b]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6db565a86d6sm927657b3.78.2024.09.06.11.44.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Sep 2024 11:44:07 -0700 (PDT) Date: Fri, 06 Sep 2024 13:44:04 -0500 From: Wes Morgan To: freebsd-fs@freebsd.org Subject: Re: Unable to replace drive in raidz1 User-Agent: K-9 Mail for Android In-Reply-To: <780A9427-C9BA-481F-9139-992B323F863B@distal.com> References: <5ED5CB56-2E2A-4D83-8CDA-6D6A0719ED19@distal.com> <6A20ABDA-9BEA-4526-94C1-5768AA564C13@distal.com> <0CF1E2D7-6C82-4A8B-82C3-A5BF1ED939CF@distal.com> <29003A7C-745D-4A06-8558-AE64310813EA@distal.com> <780A9427-C9BA-481F-9139-992B323F863B@distal.com> Message-ID: 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.943]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1134:from] X-Rspamd-Queue-Id: 4X0lWF017Kz4hrl On September 6, 2024 1:35:22 PM CDT, Chris Ross wrote: > > >> On Sep 6, 2024, at 14:21, Chris Ross 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