gpart bootcode Operation not permitted

Miroslav Lachman 000.fbsd at quip.cz
Fri Apr 3 14:11:32 UTC 2020


Artem Kuchin wrote on 2020/04/03 15:23:
> I am lost with this problem.
> 
> I have gmirror:
> 
> # gmirror status
>         Name    Status  Components
> mirror/boot  COMPLETE  ada0p1 (ACTIVE)
>                         ada1p1 (ACTIVE)
> mirror/swap  COMPLETE  ada0p2 (ACTIVE)
>                         ada1p2 (ACTIVE)
> mirror/root  COMPLETE  ada0p3 (ACTIVE)

I you are mirroring boot partition why you need to write directly to 
individual partitions on both disk instead of mirror?

I never used this setup. I mirrored swap, /root, /usr, /var but not boot 
partition. Then I write gptzfsboot to both ob them individually.

Miroslav Lachman



More information about the freebsd-fs mailing list