Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 22:15:00 +0400 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, Volodymyr Kostyrko <c.kworr@gmail.com>
Subject:   Re: boot from ZFS: which pool types use?
Message-ID:  <alpine.BSF.2.00.1307042208370.2446@woozle.rinet.ru>
In-Reply-To: <51D5A20F.4070103@FreeBSD.org>
References:  <alpine.BSF.2.00.1307041424030.2446@woozle.rinet.ru> <51D56066.1020902@FreeBSD.org> <alpine.BSF.2.00.1307041552031.2446@woozle.rinet.ru> <51D577A9.1030304@gmail.com> <alpine.BSF.2.00.1307041952030.2446@woozle.rinet.ru> <51D59AAD.3030208@FreeBSD.org> <alpine.BSF.2.00.1307042000130.2446@woozle.rinet.ru> <51D5A20F.4070103@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jul 2013, Andriy Gapon wrote:

> > However: setting this in boot.loader (or manually in loader prompt) is not 
> > enough to have bootable system
> > 
> > And this, I suppose, could be attacked to reduce possibility of 
> > user-configuration errors: not having a possibility to point at loader is a bit 
> > disappointing, you see ;) 
> 
> I am confused with this's and that's and unknown file names.

Well, sorry for not being explicit enough -- after all, we're both non-native 
speakers ;P

> What exactly did you try and what exactly did not work?

Now, examining my setups, I'm not quite sure what could we do in 
non-deterministic situation like I've created myself :)

> Please note that vfs.root.mountfrom tells loader to tell kernel from where it
> should mount root fs.  It can not tell earlier boot blocks where to find loader
> itself.

Understood, and this is fair enough.  

Now, looking at zfsboot.c, couldn't we (for finding /boot/zfsloader suitable 
for us) loop over, say, top-level datasets in pools we have, in abcense of 
special property?  As for me, this should plug the most annoying mistakes...


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1307042208370.2446>