From owner-freebsd-fs@freebsd.org Wed Feb 1 09:30:47 2017 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51BDFCCB5D5 for ; Wed, 1 Feb 2017 09:30:47 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00269E4D for ; Wed, 1 Feb 2017 09:30:46 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id b65so29782872wmf.0 for ; Wed, 01 Feb 2017 01:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XyNX9t+hxITbikvmcY4pcZVs5L1/RsZ/YUIb6gwtwac=; b=qYsag/oF17N6SeBTmqLv2TNEfLdKIMsamb/nXO25Ih2SSVBU2yusOLBKPPlDzj7I7q 6i0BChyGh9LGYe4e1U9VxP8LiqVkieMIEqhjqqPFyGhDUU/xeC1ZHNuknfgP5PMtqUd4 5ZKb4q+dxzFJJe+WBVVr1UHUq957dc27D0LCbCeXnkMS5uD1K41OsNXptTBkFX8ilbMR LiHyvEXLmopZ/lrMdhKEVxd5F/9omIKZ6hkakrm4XA51w/C53KFoFMEhmEY0Un2edRlu fgc550iv2Xc7umNmcjB/BUtNxJuU+jIpk6V315dG2h4DSFrWwcw5wLWlIYNAUA5g1Ggi siuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XyNX9t+hxITbikvmcY4pcZVs5L1/RsZ/YUIb6gwtwac=; b=HTvIYv+9c+bUfuZdl3YDkIVBObZapZmu+aVwmSdkHU7NODs1vdRlhvbvo6UB1uXXv9 hI4eJVSRhOvGduou7JoPBz+42DZIRldmPTDrOQ57vg8M6UEW4YUt4TjARW5+3vt/PO3a 6qZTzcIMHNffMOeKi78kOwOt/lhTMLi5OP7fiFNOwBp9ckERwfskfs4rL0A73e9flFns FDZd/k7z2bZEKqaJgb5FLdTNcRQ1EtfEIQ3+R8CSiNRW/d4LY6cPw1ZKh57/K0v986Nh 29NMrAY1ORgd4FE5AvF4R/VzEHed8b8NXJkWgjNEWe+MitSVhQ6yEu8R7E5Oa7sdh5uq voqA== X-Gm-Message-State: AIkVDXJo3HtV73Ni7fbC0FfNp5+wrYPph1wyNxYJ+JHQ/SKNnVqYuzE6tQb+A/VdgJgF2PsXHHKPme8UKESCHQ== X-Received: by 10.28.19.207 with SMTP id 198mr1883372wmt.70.1485941445256; Wed, 01 Feb 2017 01:30:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.164.65 with HTTP; Wed, 1 Feb 2017 01:30:44 -0800 (PST) In-Reply-To: References: From: Adam Vande More Date: Wed, 1 Feb 2017 03:30:44 -0600 Message-ID: Subject: Re: zpool upgrade instructions aren't complete enough - gpart operation not permitted To: Paul Hargreaves Cc: freebsd-fs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 09:30:47 -0000 On Wed, Feb 1, 2017 at 3: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? > > root@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 --=20 Adam