From owner-freebsd-fs@freebsd.org Wed Feb 1 16:37:25 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 C9AE2CCB02A for ; Wed, 1 Feb 2017 16:37:25 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 86BDF1F60 for ; Wed, 1 Feb 2017 16:37:25 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qt0-x234.google.com with SMTP id w20so201858441qtb.1 for ; Wed, 01 Feb 2017 08:37:25 -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=5v7C2IieeEa0qCa+id8WMV+1QtLV2oDECfseZLAS2KA=; b=A0//CuS09F78CxQ1snbBTCRBc85btPekf8A1GEo2sNRZUk2BQybafHn5HpacYsYcUt Z+6k0QF+5YXkksJlYC1THXZdzHG8CeYQvsBzJ8xZ7BxdZzp7M+eBSE4AUXMyP/1aODUO Vv+GVQTDYXNN7TQc8+WzOuHoyG5t8SXNtmnjuv5Qq/ko33OdkqxOyFJJz/jticduA0tQ eXCbCqy+yOf3UN1clqBsmaj6semvesyYp6e5BFXkeVpGEefaJJMBvQD/eOw9JDO31ic/ pOqI766vQjroPWksTEPNqMR6Czpoqjt9ai+/pLYQd7pP76Kis+/oEuZLIXsLC+0vS11x kt6Q== 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=5v7C2IieeEa0qCa+id8WMV+1QtLV2oDECfseZLAS2KA=; b=VMpjcaErVmB5U2P4cYLCTdYOIFVDGKdKbILRtHAp+jq66LcFNNddmO1l94QQDMh36u /N9cX9DRJYfsNZ/zJyGSOEvwv0gAd+kw5Wnynr5/TCOFj2GNPGda5zVBRzNDDEYaEm6l h/TSPXibBwGkOWlRciOPXVpxbm7S5s5aqZZ0zk+cJN+f0VuCEtlZhk4+SEiqrBu0WoOy tth/Q7rCDCO82LjHkfZWHcYbhBHhTwgSGXbq2NMvZGrmRc8+ZuIFhkBzDhHcXZu2wEPf Myu6vxhaqfofHUDlhtM174VFMZXcFr2f8+FfkKuAGwhTG/pSebg3y3ByOnSzh5MLFbG6 aVyA== X-Gm-Message-State: AMke39kL8hboE6QuZGZ8niVR/mqh9zM+0wcucmxXr+xyXURJnHW4uovjX/0N2HIaZUOIVy2052pd2M1mtWIBzw== X-Received: by 10.55.66.67 with SMTP id p64mr3459852qka.273.1485967043270; Wed, 01 Feb 2017 08:37:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.28.202 with HTTP; Wed, 1 Feb 2017 08:37:22 -0800 (PST) In-Reply-To: References: From: Freddie Cash Date: Wed, 1 Feb 2017 08:37:22 -0800 Message-ID: Subject: Re: zpool upgrade instructions aren't complete enough - gpart operation not permitted To: Paul Hargreaves Cc: FreeBSD Filesystems 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 16:37:25 -0000 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