From owner-freebsd-stable@FreeBSD.ORG Sun Sep 19 16:53:21 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35630106566C; Sun, 19 Sep 2010 16:53:21 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from coco.macktronics.com (coco.macktronics.com [209.181.253.65]) by mx1.freebsd.org (Postfix) with ESMTP id 0BF318FC0A; Sun, 19 Sep 2010 16:53:20 +0000 (UTC) Received: from [172.22.30.42] (dulse.macktronics.com [209.181.253.69]) by coco.macktronics.com (Postfix) with ESMTPA id 1712E4AC44; Sun, 19 Sep 2010 11:36:04 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=utf-8 From: Dan Mack In-Reply-To: <4C923ECD.8020809@FreeBSD.org> Date: Sun, 19 Sep 2010 11:36:01 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <38552F13-7E0C-4B18-B274-C88D7CE1F04F@macktronics.com> References: <201009152007.17320.Pascal.Stumpf@cubes.de> <201009151830.o8FIUWEZ021844@lava.sentex.ca> <4C911AB0.6090901@delphij.net> <4C91AEBF.50502@FreeBSD.org> <201009161355.o8GDtroR028629@lava.sentex.ca> <4C923557.40004@DataIX.net> <201009161543.o8GFhJnh029157@lava.sentex.ca> <4C923ECD.8020809@FreeBSD.org> To: Martin Matuska X-Mailer: Apple Mail (2.1081) Cc: jhell , stable@freebsd.org Subject: Re: MFC of ZFSv15 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 16:53:21 -0000 But I should be able to boot my ZFSv14 root pool using the ZFSv15 build = of FreeBSD, correct? But the problem scenario would be when I've = upgraded my root pool to v15 and I attempt to boot it with v14 boot = loader. At least that is what I think ... I guess what I'm getting at is ... you should be able to buildworld, = installkernel, reboot, installworld, reboot without worry. But after = your run 'zpool upgrade', you will need to re-write the bootcode using = gpart on each of your root pool ZFS disks. Am I understanding this correctly ? Thanks for all the work on ZFS BTW, it's great! Dan On Sep 16, 2010, at 10:59 AM, Martin Matuska wrote: > Dont forget to read the general "ZFS notes" section in UPDATING: >=20 > ZFS notes > --------- > When upgrading the boot ZFS pool to a new version, always follow > these two steps: >=20 > 1.) recompile and reinstall the ZFS boot loader and boot block > (this is part of "make buildworld" and "make installworld") >=20 > 2.) update the ZFS boot block on your boot drive >=20 > The following example updates the ZFS boot block on the first > partition (freebsd-boot) of a GPT partitioned drive ad0: > "gpart bootcode -p /boot/gptzfsboot -i 1 ad0" >=20 > Non-boot pools do not need these updates. >=20 > D=C5=88a 16. 9. 2010 17:43, Mike Tancsa wrote / nap=C3=ADsal(a): >> At 11:18 AM 9/16/2010, jhell wrote: >>> On 09/16/2010 09:55, Mike Tancsa wrote: >>>>=20 >>>> Thanks again for all the ZFS fixes and enhancements! Are there any >>>> caveats to upgrading ? >>>>=20 >>>> Do I just do >>>>=20 >>>> zpool upgrade -a >>>> zfs upgrade -a >>>>=20 >>>> or are there any extra steps ? >>>>=20 >>>=20 >>> Hi Mike, >>>=20 >>> No-one knows your bootcode better than you. So if you are upgrading >>> don't forget if you are on a ZFS root then your bootcode might need >>> updating. >>=20 >>=20 >> Hi, >> I am booting off UFS right now so no bootcode updates for me :) I did >> look at UPDATING which does mention >>=20 >> 20100915: >> A new version of ZFS (version 15) has been merged. >> This version uses a python library for the following subcommands: >> zfs allow, zfs unallow, zfs groupspace, zfs userspace. >> For full functionality of these commands the following port must >> be installed: sysutils/py-zfs >>=20 >> ---Mike >>=20 >>=20 >> -------------------------------------------------------------------- >> Mike Tancsa, tel +1 519 651 3400 >> Sentex Communications, mike@sentex.net >> Providing Internet since 1994 www.sentex.net >> Cambridge, Ontario Canada www.sentex.net/mike > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" Dan -- Dan Mack mack@macktronics.com