From owner-freebsd-stable@FreeBSD.ORG Sun Sep 19 19:22:34 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3009F1065675 for ; Sun, 19 Sep 2010 19:22:34 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:2:2d29:0:1::]) by mx1.freebsd.org (Postfix) with ESMTP id A95D58FC15 for ; Sun, 19 Sep 2010 19:22:33 +0000 (UTC) Received: from restart.be (avoriaz.tunnel.bel [IPv6:2001:41d0:2:2d29:1:ffff::]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 384D313F6D; Sun, 19 Sep 2010 21:22:32 +0200 (CEST) Received: from meribel.restart.bel (meribel.restart.bel [IPv6:2001:41d0:2:2d29:1:8::]) (authenticated bits=0) by restart.be (8.14.4/8.14.4) with ESMTP id o8JJMT4v061485 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=OK); Sun, 19 Sep 2010 21:22:31 +0200 (CEST) (envelope-from hlh@restart.be) X-DKIM: Sendmail DKIM Filter v2.8.3 restart.be o8JJMT4v061485 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1284924151; bh=QGK+1wcp4GmpB/otBWmmjzWLJf2jblZFYedcoZLu6zA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=YEcuVbgylAQS3sj39x2zsskY7+5S2DvSW0MD92ZlWkYEEmbjPbviKwEqcoNllrtZR q9UsUEWYG7D39a34sUl4g== X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 restart.be o8JJMT4v061485 DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=qd9GSENHzsYMVuAvbYmgUeb6x53wzQo66li+L2OLaZjAWSN4N6aXPscgRMEL2Rz0q 9AIB/koA4N4buQpbdyZOA== Message-ID: <4C9662F5.2070003@restart.be> Date: Sun, 19 Sep 2010 21:22:29 +0200 From: Henri Hennebert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.12) Gecko/20100911 Thunderbird/3.0.7 MIME-Version: 1.0 To: Dan Mack 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> <4C9269EB.8020002@restart.be> In-Reply-To: X-Enigmail-Version: 1.0.1 OpenPGP: id=D351A503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-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 19:22:34 -0000 On 09/19/2010 18:33, Dan Mack wrote: > But I should be able to boot my ZFSv14 root pool using the ZFSv15 build of FreeBSD, correct? Yes > But the problem scenario would be when I've upgraded by root pool to v15 and I attempt to boot it with v14 boot loader. At least that is what I think ... You are right > > I guess what I'm getting at is ... you should be able to buildworld, installkernel, reboot, installworld, reboot without worry. It is the case > But when after your run 'zpool upgrade', you will need to re-write the bootcode using gpart on each of your root pool ZFS disks. I prefer to install bootcode BEFORE. Then reboot and check it with the printf of my simple patch. Then you can zpool/zfs upgrade without problem. > > Am I understanding this correctly ? > > Thanks for all the work on ZFS BTW, it's great! > > Dan > > On Sep 16, 2010, at 2:03 PM, Henri Hennebert wrote: > >> On 09/16/2010 17:18, jhell wrote: >>> On 09/16/2010 09:55, Mike Tancsa wrote: >>>> >>>> Thanks again for all the ZFS fixes and enhancements! Are there any >>>> caveats to upgrading ? >>>> >>>> Do I just do >>>> >>>> zpool upgrade -a >>>> zfs upgrade -a >>>> >>>> or are there any extra steps ? >>>> >>> >>> Hi Mike, >>> >>> 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. >>> >> I was bitten by this problem in a previous ZFS upgrade. >> >> To be sure, I have added this patch to zfsimpl.c so, at boot I know if zpool/zfs upgrade will be OK. >> >> Henri >>> >>> Regards, UPDATING should have anything else. >>> >> >> _______________________________________________ >> 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 > > > > > >