From owner-freebsd-questions@FreeBSD.ORG Thu Nov 7 20:45:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 56E9128D for ; Thu, 7 Nov 2013 20:45:28 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [213.251.152.9]) by mx1.freebsd.org (Postfix) with ESMTP id 1BC6E2CD9 for ; Thu, 7 Nov 2013 20:45:27 +0000 (UTC) Received: from newmail.rmm.fr (newmail.rmm.fr [213.251.152.9]) by newmail.rmm.fr (Postfix) with ESMTP id 2D189131AC for ; Thu, 7 Nov 2013 21:45:27 +0100 (CET) X-Virus-Scanned: amavisd-new 2.8.0 (20120630) at rmm.fr Received: from newmail.rmm.fr ([213.251.152.9]) by newmail.rmm.fr (newmail.rmm.fr [213.251.152.9]) (amavisd-new, port 10024) with ESMTP id y70OFMx_kByf for ; Thu, 7 Nov 2013 21:45:26 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 442071319A for ; Thu, 7 Nov 2013 21:45:26 +0100 (CET) From: "bsd@todoo.biz" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Running gpart boot code after upgrade zfs pool to feature flag ? Message-Id: Date: Thu, 7 Nov 2013 21:45:26 +0100 To: Liste FreeBSD Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) X-Mailer: Apple Mail (2.1816) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 20:45:28 -0000 Hello,=20 I have just successfully upgraded my server from 9.1 to 9.2 and = activated the latest feature flag on my zpool.=20 > tube:root 21:04:53 /root # zpool upgrade -a=20 > This system supports ZFS pool feature flags. >=20 > Successfully upgraded 'zroot' from version 28 to feature flags. > Enabled the following features on 'zroot': > async_destroy > empty_bpobj > lz4_compress >=20 > 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: >=20 > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 >=20 I really don't know if I need to issue this command=85=20 I have tried to figure out by reading the man gpart but It is not 100% = clear to me=85=20 My gpart config is as follow :=20 > tube:root 21:11:05 /usr/ports/ports-mgmt/poudriere screen # gpart show > =3D> 34 1677721533 da0 GPT (800G) > 34 128 1 freebsd-boot (64k) > 162 6 - free - (3.0k) > 168 8388608 2 freebsd-swap (4.0G) > 8388776 1669332784 3 freebsd-zfs (796G) > 1677721560 7 - free - (3.5k) >=20 > =3D> 63 113246145 da1 MBR (54G) > 63 113242122 1 freebsd [active] (54G) > 113242185 4023 - free - (2M) >=20 > =3D> 0 113242122 da1s1 BSD (54G) > 0 4194304 1 freebsd-ufs (2.0G) > 4194304 8388608 2 freebsd-swap (4.0G) > 12582912 4194304 4 freebsd-ufs (2.0G) > 16777216 31457280 5 freebsd-ufs (15G) > 48234496 65007626 6 freebsd-ufs (31G) >=20 Shall I run the command provided or not ?=20 > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 Any help will be welcome since I really don't want to mess up with my = server.=20 Thanks. ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF BSD - BSD - BSD - BSD - BSD - BSD - BSD - BSD - ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF PGP ID --> 0x1BA3C2FD