Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2020 10:09:16 +0300
From:      Artem Kuchin <artem@artem.ru>
To:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   gmirror disks differ at start.no boot from another disk?
Message-ID:  <901cb384-0888-a71c-2816-dff3e29b8119@artem.ru>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?901cb384-0888-a71c-2816-dff3e29b8119>