Re: Replacing a REMOVED drive in DEGRADED zpool

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Thu, 21 Aug 2025 19:06:44 UTC
David Christensen <dpchrist@holgerdanske.com> 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
-- 
Dag-Erling Smørgrav - des@FreeBSD.org