gmirror disks differ at start.no boot from another disk?

Artem Kuchin artem at artem.ru
Wed Apr 1 07:09:38 UTC 2020


Hello!

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
EFI u
PARTu
E(f;
E,f;D
Boot loader too large
Invalid partition table
I/O error loading boot loader
Missing boot loader
EFI PART
GBW(
-       q+]
-       q+M


dd if=/dev/ada2 of=./z1 bs=512 count=16


# strings z2
EFI PART
GBW(
-       q+
-       q+


Am I correct? How to fix it?

Artem



More information about the freebsd-questions mailing list