gmirror disks differ at start.no boot from another disk?
artem at artem.ru
Wed Apr 1 07:09:38 UTC 2020
Since i had a bad sector and corrected it i decided also to check how my
mirror is in sync.
What i found out that two disks have totally dfferent starting bytes.
Cannot for sure what's there,
but it seems like one disk has a bootloader and anoter one does not. So,
if disk with bootloader fails i will not
be able to boot from the mirror disk.
dd if=/dev/ada1 of=./z1 bs=512 count=16
# strings z1
Boot loader too large
Invalid partition table
I/O error loading boot loader
Missing boot loader
dd if=/dev/ada2 of=./z1 bs=512 count=16
# strings z2
Am I correct? How to fix it?
More information about the freebsd-questions