From owner-freebsd-fs@freebsd.org Wed Feb 1 09:22:09 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 B2489CCB46E for ; Wed, 1 Feb 2017 09:22:09 +0000 (UTC) (envelope-from paul.hargreaves@technowizardry.co.uk) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 539F1C6D for ; Wed, 1 Feb 2017 09:22:09 +0000 (UTC) (envelope-from paul.hargreaves@technowizardry.co.uk) Received: by mail-wm0-x22e.google.com with SMTP id b65so29442068wmf.0 for ; Wed, 01 Feb 2017 01:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technowizardry.co.uk; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=WAZZ7LcgsxEKa3zHPutIRvHc9T7/niMQawJRFD+P/Rk=; b=oaEIE3hxznO+fAK0xl+97j6w+MM5lKKfIjH1UjYTlwhXL9C7L0n1pKpY5IwrELWvoi rU9ur9sLdQBX4B+URA9rR+eUT4tffQBKEqL26pBzXDcZHSYyjwOciSswiW0zkibF5bfd fOrab4OUhhgjKus/91x1BOYM7FtMvJIMHNn3g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=WAZZ7LcgsxEKa3zHPutIRvHc9T7/niMQawJRFD+P/Rk=; b=s7IUPV441azMUk0ULfD+eZ6YOh7O4osk2rXXFv0lMc77AfOrKQ+hW2Y4h0XHWyi458 dMZh8GoUcg7cQLoo1tCvs5K/TfUDKe5dbq8pSubR3sTJ08rvuasW9G3rpZ66Dbiu4I7/ AyrsbrJnbojb6L5ciYx2D7xGADg4v57XwwkHRyz1qXVm+Yy1nAQtePKhA8xGVue5D7Dg zS3wXW5VL4rD1CodkUYcZOinCyc8C7NoTG1Zi5wTBs1MlpHn3FXoRXkqNWsIiPN5FWeA YgQtwCjCzDKU5pmdtvFtxXxhtG/HczutavH4qlzvKgFFD2jtGylMsYS3DvnFbn7T5mqA hxmw== X-Gm-Message-State: AIkVDXL+xTJxiPyCZphfbwF/oBpDy1tK++HnuhYUak6k/OU+l0afvSq/E2kFjxoSw/3ZXg== X-Received: by 10.28.58.204 with SMTP id h195mr22005963wma.116.1485940926072; Wed, 01 Feb 2017 01:22:06 -0800 (PST) Received: from [6.6.6.151] (host5-81-123-215.range5-81.btcentralplus.com. [5.81.123.215]) by smtp.gmail.com with ESMTPSA id o81sm28379072wmb.14.2017.02.01.01.22.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 01:22:05 -0800 (PST) From: Paul Hargreaves Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: zpool upgrade instructions aren't complete enough - gpart operation not permitted Message-Id: Date: Wed, 1 Feb 2017 09:22:04 +0000 To: freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3259) 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:22:09 -0000 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 = da0 (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 Hmm=E2=80=A6 ok. Google-fu only found this: https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot which doesn=E2=80=99t help since it=E2=80=99s out of date. Is there a different magic incantation I should be using? Also tried using the da0s1d but then get part: No such geom: da0s1d. Regards Paul=