From nobody Thu Aug 21 19:06:44 2025 X-Original-To: questions@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 4c7CVF6RCbz65Xfj for ; Thu, 21 Aug 2025 19:06:45 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c7CVF5m8qz3s5m; Thu, 21 Aug 2025 19:06:45 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755803205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YlbOof/PTl8YQvZYBDvj8BPzVRpgEA5oj+3fufODfnw=; b=vlnH2CtlQNaZ/lPtuETDLbfr7zR3pz6d9QoJRoYBGsYSWvrHWCwBeHwa23cfEPhBjWu2GY yHwC92+lH5NH5GGoRsSmLDvhqKgKhvGdE6338Ta9ObPzzNw8z4ZKHOj7ieMpb7R1jPKdUM 9JU9GnCovNbSM8UUuZgGttu7UeuiRWb1F4blnnP+F9IfGD4Orwv1EG8iIffl2Krz1kj3j4 2CqSoVcdOEDzkIixa/u6y1k23EBZRAfRBOk4/mg50uteiftd+bvm/RpX/rIJC1Qb2hvgLR YbKdygwTJVaIHJpGWLYaAXvT47rZtm9uQf0j0LzARJSlprIdyrGeW2XH6l+NOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755803205; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YlbOof/PTl8YQvZYBDvj8BPzVRpgEA5oj+3fufODfnw=; b=SL7AW/56Zh1Une8KNvOVzdNSKzD17blwKOyLiouOgf/1YvszY6s8WszsJAl0/K/qDsDZIk n/l2brFFxI65rNwPHL5gGQHoaSzM9xtf6hhEOvkjLyQk9rqQWy9IV1/e8VuNb+2RLyp6Eg BntXOJUpLAP0U+UuvMEgCpUT3XEqcZXh5tnazCZIDlWdUYoDs9s2L+CCf59VfseyoTOn9q GpSVnWmqR2G8bNjhYtnWPLywcAYZBqDcryXxsGFHFPGeYQ81yynDKzO2k1wym74yQ+BK+C Iv/sq/hlw5zfdoGBYLZPE5Qfl7s50uI6SuqhHNlInxtj7MpnXiwhyx0KL8qgrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755803205; a=rsa-sha256; cv=none; b=bVM2pIqEKqSCACawVAcw2SpI39htz3PV/Mbg8Wdc4rZGvT35PoaCkBHcEOW+Ug+GYmS2sR j1R9YAdfdbn4GVFcIzpQV8s6fFaoOcayq7zlpOh4S4qzVFjV8BLadVCWNdQf9fK1OZuMsN /gE3nirHiqHd2i0RXwGc/kVHkfepFZCY01u/uZECLbz3fFq4nsw8C4+bUpo2R6N6Ra0nbX OWjCngzCOC+uT8kNhTteaohiyCY+unKaQyWCOLSYDd8a7ym670tHcA4scCm/83ondVDJrt ZjLfdQ1my5scW3uHryInyUUv2kPOmX8qeGjNqD26wjZO5Rt/DseT+lmyLG64sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (unknown [IPv6:2a01:e0a:c54:bed0:922e:16ff:fef1:acef]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c7CVF4JdkzBxq; Thu, 21 Aug 2025 19:06:45 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 6C9893BFA9; Thu, 21 Aug 2025 21:06:44 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: David Christensen Cc: questions@freebsd.org Subject: Re: Replacing a REMOVED drive in DEGRADED zpool In-Reply-To: (David Christensen's message of "Thu, 21 Aug 2025 10:03:54 -0700") References: <86bjo9kvsv.fsf@ltc.des.dev> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 21 Aug 2025 21:06:44 +0200 Message-ID: <86qzx4jxyz.fsf@ltc.des.dev> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable David Christensen writes: > You are correct -- gpart(8) backups are incomplete (!). Disk GUID > (UUID) is missing and partition GUID's (UUID's) and names (labels) are > missing. Where is this documented? Labels are included, they're just not restored unless you specify -l. If your backup doesn't include labels, it means your partition table didn't have any. UUIDs are intentionally neither included nor restored. > RTFM glabel(8), I believe I see how to set labels after a gpart(8) > restore onto a wiped disk. glabel labels are different and separate from gpart labels. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org