Re: Replacing a REMOVED drive in DEGRADED zpool
- Reply: David Christensen : "Re: Replacing a REMOVED drive in DEGRADED zpool"
- In reply to: Robert : "Re: Replacing a REMOVED drive in DEGRADED zpool"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Aug 2025 15:21:54 UTC
Robert <robert@webtent.org> writes:
> So, I would not need to examine the disks for the same MBR and just
> use the gpart bootcode above on the new disk?
Yes. And if you haven't done so in a while (i.e. not since your last
upgrade), I would run `gpart bootcode` on all disks. You can combine -b
and -p in a single command, e.g.
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org