From owner-freebsd-questions@freebsd.org Tue Jul 28 19:52:57 2015 Return-Path: Delivered-To: freebsd-questions@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 DD3919AD06B for ; Tue, 28 Jul 2015 19:52:57 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2a01:138:a006::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 961C57AF for ; Tue, 28 Jul 2015 19:52:57 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (aftr-185-17-207-81.dynamic.mnet-online.de [185.17.207.81]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 176918D989 for ; Tue, 28 Jul 2015 21:52:46 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.1 anny.lostinspace.de 176918D989 Authentication-Results: anny.lostinspace.de; dmarc=none header.from=fechner.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fechner.net; s=default; t=1438113166; bh=c53sVzUWe3J7HHPJdfiCRHGl5ByNdTE7zn1dVwZusSg=; h=Date:From:To:Subject:References:In-Reply-To; b=ZnSjYl+3oFA/p88Cl9fT/8iM7wULXZGbVpK8AvLGppzwT1fNOy36nkeTF/snXpOsn F7EwBWfjxUWt+o7QVdRhCc2UvNGTjuRE6Fq9m0lrWDIQMr7vPUoFniLUVOsO/JC6bL Hn9SdlZQkBGY6xn283RRy7ftqVegWqhIkHn/USI4= Received: from server.idefix.lan (localhost [IPv6:::1]) by server.idefix.lan (Postfix) with ESMTP id 6B5972C289 for ; Tue, 28 Jul 2015 21:52:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at fechner.net Received: from server.idefix.lan ([127.0.0.1]) by server.idefix.lan (server.idefix.lan [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Pa0Yutc6Yyze for ; Tue, 28 Jul 2015 21:52:44 +0200 (CEST) Received: from [192.168.0.33] (aftr-185-17-207-81.dynamic.mnet-online.de [185.17.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id D6AD02C27A for ; Tue, 28 Jul 2015 21:52:44 +0200 (CEST) Message-ID: <55B7DD8C.3000908@fechner.net> Date: Tue, 28 Jul 2015 21:52:44 +0200 From: Matthias Fechner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Zpool upgrade on mirrored boot volume References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 19:52:58 -0000 Am 28.07.2015 um 21:37 schrieb Doug Niven: > I ran a ‘zpool upgrade zroot’ then saw the following: > > 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 > > zroot is our boot volume but it’s made up of two mirrored disks: ada0, ada1 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1 If you have never done this before, make a backup before you execute it and before you reboot. If you already have updated your pool and you forgot to upgrade the bootloader, you cannot boot your machine anymore. Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook