Date: Wed, 1 Feb 2017 08:37:22 -0800 From: Freddie Cash <fjwcash@gmail.com> To: Paul Hargreaves <paul.hargreaves@technowizardry.co.uk> Cc: FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: Re: zpool upgrade instructions aren't complete enough - gpart operation not permitted Message-ID: <CAOjFWZ7psvO3tDe=pBY_Sujn6xt9iER4Wgc2iTbqnz3Fo-e6jQ@mail.gmail.com> In-Reply-To: <F0AE80E4-155A-4E5E-A3BD-E2F22F463984@technowizardry.co.uk> References: <F0AE80E4-155A-4E5E-A3BD-E2F22F463984@technowizardry.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 1, 2017 at 1:22 AM, Paul Hargreaves < paul.hargreaves@technowizardry.co.uk> wrote: > Hi there, > > Just upgraded from 10.2 to 11.0. > As part of that, did zpool upgrade: > > root@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=E2=80=99m using GPT partitioning and I think I boot from da= 0 > (specifically, zpool show shows zroot is da0s1d), but how to tell? > =E2=80=8BGPT partitioned disks will have device nodes like da0p1 (meaning p= artition 1). MBR partitioned disks will have device nodes like da0s1d (meaning partitiong d in slice 1). You can use "gpart show da0" to get more information. IOW, you have MBR partitioned disks, and should not use the suggested command as it only applies to GPT partitioned disks. --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7psvO3tDe=pBY_Sujn6xt9iER4Wgc2iTbqnz3Fo-e6jQ>