From owner-freebsd-questions@freebsd.org Tue Jul 28 19:37:54 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 DD8689ADA99 for ; Tue, 28 Jul 2015 19:37:54 +0000 (UTC) (envelope-from dniven@ucsc.edu) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::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 ADE5A1B93 for ; Tue, 28 Jul 2015 19:37:54 +0000 (UTC) (envelope-from dniven@ucsc.edu) Received: by padck2 with SMTP id ck2so74528732pad.0 for ; Tue, 28 Jul 2015 12:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=y4DWxEyuOn6PUNZH/J3U4PivM1mf1JgXKnzetdF42gk=; b=DKVYlULlrPlsaW7QVPEAa+bhCfIWydmOp6pGKcmSbob+H2RyGxNIoFm6fdPqrkkyPa Ibbz5TEwmHoHzLbynXJc61yMUcqq01ZIOBucSNE1MoUegyusEUtRWRJr604PrsRUD/8/ GEjM/SoY3fqUd+cMntujFr6KmVgo/PAVrifjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=y4DWxEyuOn6PUNZH/J3U4PivM1mf1JgXKnzetdF42gk=; b=auUFAe5gevY0R0+7laGhmkmjYMjI5vJGl6Om/VMwIdL8tu6obyqoyM5WysgHZSixIN tduIGTB4rqWsD9fgHU5QwT4YdzHv4xDWB8ZwB24/wdCYXc66Rbis+f0SVitsSixkOdSy fJTOnCpIUk8/qaFHL/xjX78c0NZg6bnA+ZMg8yG/ur/FdgunUK2WGNrt2hEXtmWEHyoV Sxrs2sPOoLc/+OzFzyQR2DBj8hLVnEWekNRgtgfxgCZUNu3XsKQg4+EVNwBCap5OIWrf aSalsjF1ZjbRXv5VNKjeRwwVYo4wqoRb+z17vwwURlP0a6LC0Q3o0MOfJ2GQ4PlhWjvj 17SA== X-Gm-Message-State: ALoCoQlH0zgoNCnHfDvABQW337jIkK9Pj32DoaVlPi/rX2dSq2L7zpnSi9o0Q2WY5jvjMNPrrUif X-Received: by 10.66.222.41 with SMTP id qj9mr85459240pac.139.1438112273028; Tue, 28 Jul 2015 12:37:53 -0700 (PDT) Received: from larry.ucsc.edu (larry.ucsc.edu. [128.114.138.158]) by smtp.gmail.com with ESMTPSA id uk6sm36834697pac.27.2015.07.28.12.37.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 12:37:52 -0700 (PDT) From: Doug Niven Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Zpool upgrade on mirrored boot volume Message-Id: Date: Tue, 28 Jul 2015 12:37:50 -0700 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) X-Mailer: Apple Mail (2.2102) 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:37:55 -0000 Hi Folks, I ran a =E2=80=98zpool upgrade zroot=E2=80=99 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=E2=80=99s made up of two mirrored disks: = ada0, ada1 Please advise how I should run the above command without hosing our = 10.1-RELEASE-p15 host. Thanks! Doug=