Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2012 17:10:26 -0600
From:      Bryan Drewery <bryan@shatow.net>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, vermaden <vermaden@interia.pl>
Subject:   Re: Why do we need vfs.root.mountfrom for zfs
Message-ID:  <50A96AE2.60803@shatow.net>
In-Reply-To: <50A93A6E.1090907@FreeBSD.org>
References:  <848051353247434@web29h.yandex.ru> <50A934D2.9010205@FreeBSD.org> <1026501353267511@web27h.yandex.ru> <50A93A6E.1090907@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/18/2012 1:43 PM, Andriy Gapon wrote:
> on 18/11/2012 21:38 Aldis Berjoza said the following:
>>
>> 18.11.2012, 21:19, "Andriy Gapon" <avg@FreeBSD.org>:
>>> on 18/11/2012 16:03 Aldis Berjoza said the following:
>>>
>>>>  I was wondering why oh, why do we need to set
>>>>  vfs.root.mountfrom in /boot/loader.conf in order to boot from zfs.
>>>
>>> Who is 'we'?  And why do you think 'we' have to do that? :-)
>>>
>>>>  zpools have bootfs option.
>>>>
>>>>  This info is redundant.
>>>>  I think one of two could be totally avoided at least in case when we boot form gptzfsboot.
>>>>
>>>>  What I'm missing?
>>>
>>> You don't miss anything.  The defaults work fine.  You don't have to set
>>> vfs.root.mountfrom unless you want it to point to some non-default fs.
>>>
>>> More details:
>>> http://ru.kyivbsd.org.ua/arhiv/2012/kyivbsd12-gapon-zfs.pdf?attredirects=0&d=1
>>> Page 17 and one.
> 
> the above should have been "and on".
> 
>>
>> Thank you, thank you so very much.
>> I never knew vfs.root.mountfrom was optional. All the turorials I've been reading said to set it.
> 
> 
> Well, it used to be true that either an fstab "/" entry or vfs.root.mountfrom
> had to be configured.  But now that's optional.
> 

Can you define "now"? 7.4-RELEASE, 8.3-RELEASE, 9.0-RELEASE, or just
STABLE/CURRENT?

Asking so this may possibly come out of sysutils/beadm

Bryan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A96AE2.60803>