MFC of ZFSv15

Dan Mack mack at macktronics.com
Sun Sep 19 16:53:21 UTC 2010


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:
> 
> ZFS notes
> ---------
> When upgrading the boot ZFS pool to a new version, always follow
> these two steps:
> 
> 1.) recompile and reinstall the ZFS boot loader and boot block
> (this is part of "make buildworld" and "make installworld")
> 
> 2.) update the ZFS boot block on your boot drive
> 
> 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"
> 
> Non-boot pools do not need these updates.
> 
> Dňa 16. 9. 2010 17:43, Mike Tancsa wrote / napísal(a):
>> At 11:18 AM 9/16/2010, 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.
>> 
>> 
>> Hi,
>> I am booting off UFS right now so no bootcode updates for me :) I did
>> look at UPDATING which does mention
>> 
>> 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
>> 
>> ---Mike
>> 
>> 
>> --------------------------------------------------------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications, mike at sentex.net
>> Providing Internet since 1994 www.sentex.net
>> Cambridge, Ontario Canada www.sentex.net/mike
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

Dan
--
Dan Mack
mack at macktronics.com






More information about the freebsd-stable mailing list