MFC of ZFSv15

Henri Hennebert hlh at restart.be
Thu Sep 16 19:03:10 UTC 2010


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.
>

-------------- next part --------------
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;


More information about the freebsd-stable mailing list