Re: Replacing a REMOVED drive in DEGRADED zpool
Date: Thu, 21 Aug 2025 06:56:00 UTC
David Christensen <dpchrist@holgerdanske.com> writes: > Robert <robert@webtent.org> writes: > > 3. Boot up and run `gpart backup ada1 > gpart.ada1` then `gpart > > restore ada0 < gpart.ada1` > Cloning ada1's GPT's (primary and secondary) to ada0 will result in > duplicate identifiers on two disks -- UUID's, labels, etc.. `gpart backup | gpart restore` does not copy UUIDs or labels. > [...] cloning the failed disk to the replacement disk could save > effort. ddrescue(1) may be required to get past bad blocks. You mean recoverdisk(1). DES -- Dag-Erling Smørgrav - des@FreeBSD.org