I wanted to boot my FreeBSD server from a mirror, but I wanted to mirror both ZFS pool and the EFI partition.
So I performed this kind of configuration:
The system is booting fine, but since I don't have any experience with GEOM mirror, I'd like to ask you if configuring gmirror for EFI alongside ZFS mirroring for the root pool is something reliable, or if there is a more smart method to achieve the same result.
Thank you
So I performed this kind of configuration:
Code:
# gpart create -s gpt nvd0
# gpart create -s nvd1
# gpart add -t efi -s 200M nvd0
# gpart add -t efi -s 200M nvd1
# gpart add -t freebsd-zfs nvd0
# gpart add -t freebsd-zfs nvd1
# kldload geom_mirror
# gmirror label -v gm0 nvd0p1 nvd1p1
# newfs_msdos -F32 /dev/mirror/gm0
# zpool create rpool mirror /dev/nvd0p2 /dev/nvd1p2
[... classic manual FreeBSD installation ...]
The system is booting fine, but since I don't have any experience with GEOM mirror, I'd like to ask you if configuring gmirror for EFI alongside ZFS mirroring for the root pool is something reliable, or if there is a more smart method to achieve the same result.
Thank you