[Bug 208802] Install to zfs should have copies= option to provide some anti-bitrot protection
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Sep 2025 02:57:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208802
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=494de51bc0074472d1b01604f085daea0844f240
commit 494de51bc0074472d1b01604f085daea0844f240
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-09-30 02:46:57 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-09-30 02:55:46 +0000
bsdinstall: Add loader.efi to all ESPs we create
For proper redundancy, add copies of loader.efi to each of the ESPs we
create when we create multi-volume ZFS datasets. zfsboot creates a list
of secondary ESPs, while bootpart doesn't create any (it's the UFS
partitioning tool) because we don't supporg UFS over gmirror. The
primary ESP is mounted and is what we use efibootmgr to boot from. The
redundant copies allow the system to boot if the primary disks fails.
Sponsored by: Netflix
MFC After: 2 days
PR: 208802
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D52780
usr.sbin/bsdinstall/scripts/auto | 3 ++
usr.sbin/bsdinstall/scripts/bootconfig | 61 ++++++++++++++++++++++------------
usr.sbin/bsdinstall/scripts/zfsboot | 28 +++++++++-------
3 files changed, 59 insertions(+), 33 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.