From owner-freebsd-stable@FreeBSD.ORG Thu Sep 16 19:03:09 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 E9CE61065672 for ; Thu, 16 Sep 2010 19:03:09 +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 71A158FC0C for ; Thu, 16 Sep 2010 19:03:09 +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 6383F133EE for ; Thu, 16 Sep 2010 21:03:08 +0200 (CEST) Received: from morzine.restart.bel (morzine.restart.be [IPv6:2001:41d0:2:2d29:1:2::]) (authenticated bits=0) by restart.be (8.14.4/8.14.4) with ESMTP id o8GJ37rQ052293 for ; Thu, 16 Sep 2010 21:03:07 +0200 (CEST) (envelope-from hlh@restart.be) X-DKIM: Sendmail DKIM Filter v2.8.3 restart.be o8GJ37rQ052293 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=restart.be; s=avoriaz; t=1284663787; bh=8ezCx0IzkmkJg8fQT2PJPY5nZjveoK4787t4U995ELw=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=SjyspxxAgfAKVDuwbeEFvP7OyVbq2f99E3U8om/MNhi7ZJrgkITDbj5wm1AxuK/he 1VxT9gUP6r9kK51O6saiA== X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 restart.be o8GJ37rQ052293 DomainKey-Signature: a=rsa-sha1; s=avoriaz; d=restart.be; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:references:in-reply-to:content-type; b=12LCqLDJqFsXOeQo0SliMn1UOO8Kmme62CoRcx5UT1uEh8O4fXCSZi6fiEKHyx8of dD/QiW0rvEqnB9+/wcCdw== Message-ID: <4C9269EB.8020002@restart.be> Date: Thu, 16 Sep 2010 21:03:07 +0200 From: Henri Hennebert Organization: RestartSoft User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.12) Gecko/20100910 Thunderbird/3.0.7 MIME-Version: 1.0 To: freebsd-stable@freebsd.org 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> In-Reply-To: <4C923557.40004@DataIX.net> Content-Type: multipart/mixed; boundary="------------030206040600000104040105" 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: Thu, 16 Sep 2010 19:03:10 -0000 This is a multi-part message in MIME format. --------------030206040600000104040105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. > --------------030206040600000104040105 Content-Type: text/plain; name="sys_boot_zfs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sys_boot_zfs.patch" Index: sys/boot/zfs/zfsimpl.c =================================================================== --- sys/boot/zfs/zfsimpl.c (revision 212549) +++ sys/boot/zfs/zfsimpl.c (working copy) @@ -61,6 +61,8 @@ STAILQ_INIT(&zfs_vdevs); STAILQ_INIT(&zfs_pools); + printf("ZFS: supported version %u\n", (unsigned) SPA_VERSION); + zfs_temp_buf = malloc(TEMP_SIZE); zfs_temp_end = zfs_temp_buf + TEMP_SIZE; zfs_temp_ptr = zfs_temp_buf; --------------030206040600000104040105--