zpool upgrade instructions aren't complete enough - gpart operation not permitted

Adam Vande More amvandemore at gmail.com
Wed Feb 1 09:30:47 UTC 2017


On Wed, Feb 1, 2017 at 3:22 AM, Paul Hargreaves <
paul.hargreaves at technowizardry.co.uk> wrote:

> Hi there,
>
> Just upgraded from 10.2 to 11.0.
> As part of that, did zpool upgrade:
>
> root at zfsbackup:~ # zpool upgrade zroot
> This system supports ZFS pool feature flags.
>
> Enabled the following features on 'zroot':
>   sha512
>   skein
>
> If you boot from pool 'zroot', don't forget to update boot code.
> Assuming you use GPT partitioning and da0 is your boot disk
> the following command will do it:
>
>         gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
>
>
> Ok, I think I’m using GPT partitioning and I think I boot from da0
> (specifically, zpool show shows zroot is da0s1d), but how to tell?
>
> root at zfsbackup:~ # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1
> da0
> gpart: /dev/da0s1: Operation not permitted
>

What is the output of:
# gpart list da0

-- 
Adam


More information about the freebsd-fs mailing list