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

CyberLeo Kitsana cyberleo at cyberleo.net
Thu Apr 2 08:08:12 UTC 2020


On 4/1/20 2:09 AM, Artem Kuchin wrote:
> 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.

<snip>

It's always a good idea to update your bootcode on all root/boot disks
every time you update your operating system, just in case a new feature
sneaks in that the bootloader needs to understand.

The command 'gpart bootcode' is your friend. Its usage, however, is
heavily dependent upon your system's setup, so examples will likely be
of little use to you.

-- 
Fuzzy love,
-CyberLeo

<CyberLeo at CyberLeo.Net>
Technical Administrator

CyberLeo.Net Webhosting
http://www.CyberLeo.Net

Element9 Communications
http://www.Element9.net


Furry Peace! - http://www.fur.com/peace/


More information about the freebsd-questions mailing list