MFC of ZFSv15

Henri Hennebert hlh at restart.be
Sun Sep 19 19:22:34 UTC 2010


On 09/19/2010 18:33, Dan Mack wrote:
> But I should be able to boot my ZFSv14 root pool using the ZFSv15 build of FreeBSD, correct? 

Yes
> But the problem scenario would be when I've upgraded by root pool to v15 and I attempt to boot it with v14 boot loader.  At least that is what I think ...
You are right
> 
> I guess what I'm getting at is ... you should be able to buildworld, installkernel, reboot, installworld, reboot without worry. 
It is the case

>  But when after your run 'zpool upgrade', you will need to re-write the bootcode using gpart on each of your root pool ZFS disks.

I prefer to install bootcode BEFORE. Then reboot and check it with the
printf of my simple patch. Then you can zpool/zfs upgrade without problem.
> 
> Am I understanding this correctly ?
> 
> Thanks for all the work on ZFS BTW, it's great!
> 
> Dan
> 
> On Sep 16, 2010, at 2:03 PM, Henri Hennebert wrote:
> 
>> 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.
>>>
>>
>> <sys_boot_zfs.patch>_______________________________________________
>> 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