Date: Thu, 16 Sep 2010 21:03:07 +0200 From: Henri Hennebert <hlh@restart.be> To: freebsd-stable@freebsd.org Subject: Re: MFC of ZFSv15 Message-ID: <4C9269EB.8020002@restart.be> In-Reply-To: <4C923557.40004@DataIX.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
>
[-- Attachment #2 --]
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C9269EB.8020002>
