From owner-freebsd-questions@FreeBSD.ORG Fri Nov 8 16:14:53 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 9680B2F7 for ; Fri, 8 Nov 2013 16:14:53 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1ED8F230A for ; Fri, 8 Nov 2013 16:14:52 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id er20so1881931lab.6 for ; Fri, 08 Nov 2013 08:14:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=EkQgPlstjOZCmjVMkIqOt/YHbDG9ZYijHl5rX9M295U=; b=zEu3abYn0xZpqtsSaeqygTb0f+Zi1ICwHl9QtuzzNCLNYLv79/e86HEeZEKFu3g6Ct FXXm8dVFKmQlDe7ic/jv9XRwL3KWk8+WgYsyrOioiC1Em0m3GwBnVGW5H833cdXqpfhf XbvJrmeo4R1vOP6oNktwj/rZknfaPehgDjJbz9HMEB0u0Ue9xQZrSXJ6MWxYLRIE39Df lGmCJAe++/MVks5ilQBZcPVQlSI2F2dAOCxJz8XVgpyZiVL7dBO4fJFLWnblreGxyZWd 3KWNDceQQifEK0wxbep7dkCGMXXQrgAEhGl7m0vNea65ogMLovNMU+spm2e5BrIMVu0K Cz3w== X-Received: by 10.112.130.138 with SMTP id oe10mr11106216lbb.1.1383927291047; Fri, 08 Nov 2013 08:14:51 -0800 (PST) Received: from [192.168.1.129] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id ed8sm6913384lbc.11.2013.11.08.08.14.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Nov 2013 08:14:50 -0800 (PST) Message-ID: <527D0DF9.4030503@gmail.com> Date: Fri, 08 Nov 2013 18:14:49 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "bsd@todoo.biz" , Liste FreeBSD Subject: Re: Running gpart boot code after upgrade zfs pool to feature flag ? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 08 Nov 2013 16:14:53 -0000 07.11.2013 22:45, bsd@todoo.biz wrote: > My gpart config is as follow : > > >> tube:root 21:11:05 /usr/ports/ports-mgmt/poudriere screen # gpart show >> => 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) >> >> => 63 113246145 da1 MBR (54G) >> 63 113242122 1 freebsd [active] (54G) >> 113242185 4023 - free - (2M) >> >> => 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) >> > > Shall I run the command provided or not ? > > >> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 'da0' is a hardcoded string. It just matches for you. Same as the part number. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c:4976 @^/stable/10 -- Sphinx of black quartz, judge my vow.