Re: zfs boot vs loader

From: krad <kraduk_at_googlemail.com>
Date: Mon, 12 Oct 2009 15:55:00 +0100
2009/10/12 Andriy Gapon <avg_at_icyb.net.ua>

>
> I am using ZFS for boot-and-root filesystem. gptzfsboot is used for
> bootstrapping,
> if that matters.
> Maybe the following is some kind of a pilot error, but I think that I see a
> problem with selecting a different kernel using loader prompt.
> That is, I escape to a loader prompt from boot menu. There I do 'unload'.
> Then I
> 'load' a different kernel, opensolaris.ko and zfs.ko. Then I 'boot'. Then
> root
> mounting inevitably fails because ZFS root filesystem can not be found.
>
> This is an unexpected result for me.
> I wonder if something important for ZFS get unloaded when I unload
> preloaded
> kernel and modules. Perhaps I have to manually re-load zpool.cache?
>
> This happens with recent CURRENT, amd64.
> What's strange is that I think that I can switch kernels from loader prompt
> without any problems when using RELENG_7 and UFS-boot-plus-ZFS-root
> approach.
>
> --
> Andriy Gapon
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>


before you boot the kernels check the values of the following are still set

eg

vfs.root.mountfrom="zfs:system/root"
vfs.root.mountfrom.options=rw
Received on Mon Oct 12 2009 - 12:55:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC