And with this feature, if I understood correctly, old kernel keeps on
running after this type of reboot.
If so, kernel modules loaded via /etc/rc.conf[.local] can cause version
mismatch with running kernel, forcing single user mode.

So I'd prefer making 'zboot' pool as real rootfs and mount needed
datasets from main pool. (Use povot-root only for userland-only
updates.)

# Pivot-root would be similar to configuration below. Right?

   *Use UEFI loader of 10.3 or later
   *UFS having /boot
   *ZFS NOT having /boot (at least, /boot/loader.efi)
   */boot/loader.conf has vfs.root.mountfrom line pointing inside ZFS

  Below can be optional.
   *UFS is mounted to some mountpoint such as /ufsboot after boot
   *ZFS has symlink /boot pointing /ufsboot


On Thu, 28 Apr 2016 20:39:51 +0900
Tomoaki AOKI <junch...@dec.sakura.ne.jp> wrote:

> Finished at r293744 (MFC of r290548), right?
> 
>   
> https://lists.freebsd.org/pipermail/svn-src-stable-10/2016-January/007753.html
> 
> 
> On Thu, 28 Apr 2016 11:57:44 +0100
> Steven Hartland <kill...@multiplay.co.uk> wrote:
> 
> > I thought that was in 10.3 as well?
> > 
> > 
> > On 28/04/2016 11:55, krad wrote:
> > > I think the new pivotroot type stuff in 11 may help a lot with this
> > >
> > > https://www.freebsd.org/news/status/report-2015-10-2015-12.html#Root-Remount
> > >
> > >
> > >
> > > On 28 April 2016 at 10:31, Malcolm Herbert <m...@mjch.net> wrote:
> > >
> > >> On Thu, Apr 28, 2016 at 12:44:28PM +0500, Eugene M. Zheganin wrote:
> > >> |So, I'm still struggling with my problem when I cannot boot from a big
> > >> |zfs 2T pool (I have written some messages about a year ago, the whole
> > >> |story is too long and irrelevant to retell it, I'll only notice that I
> > >> |took the path where I'm about to boot from a separate zfs pool closer to
> > >> |the beginning of the disk).
> > >>
> > >> it's no an answer to your question, but I'm wondering wether the solution
> > >> to this may also help with beadm being unable to work with crypted ZFS 
> > >> root
> > >> volumes as the boot zpool is not the same as zroot ... I've got that 
> > >> issue
> > >> myself ...
> > >>
> > >> --
> > >> Malcolm Herbert
> > >> m...@mjch.net
> > >> _______________________________________________
> > >> freebsd-stable@freebsd.org mailing list
> > >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > >> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> > >>
> > > _______________________________________________
> > > freebsd-stable@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> > 
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> > 
> 
> 
> -- 
> Tomoaki AOKI    junch...@dec.sakura.ne.jp
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKI    junch...@dec.sakura.ne.jp
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to