Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2010 11:36:01 -0500
From:      Dan Mack <mack@macktronics.com>
To:        Martin Matuska <mm@FreeBSD.org>
Cc:        jhell <jhell@DataIX.net>, stable@freebsd.org
Subject:   Re: MFC of ZFSv15
Message-ID:  <38552F13-7E0C-4B18-B274-C88D7CE1F04F@macktronics.com>
In-Reply-To: <4C923ECD.8020809@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> <201009161543.o8GFhJnh029157@lava.sentex.ca> <4C923ECD.8020809@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38552F13-7E0C-4B18-B274-C88D7CE1F04F>