From owner-freebsd-fs@FreeBSD.ORG Sun Nov 18 23:10:33 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05321635 for ; Sun, 18 Nov 2012 23:10:33 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 7F30E8FC15 for ; Sun, 18 Nov 2012 23:10:31 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=gaWZ97 M+R4M8TYdI31OhtrngZCO6an7glB29uk1iv8noXjHi9IE5+nvxLEjr4hM/cCSd1T bk3O9bvNVcjPVkLVpIzYdXCc3aJVw1zizweedigF47d1/4SzhzyzbSFz2hHsJ3nr aRfGdEedWy3tdmxnnXwePtIEyTEmZt9IaN1nE= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=WTNSfTn9kBBd oFrcXBrp122+/DxFOxf6LVnY3spDp4k=; b=guEYfTHJBDbxImpkA0NcFuKIc8ar 8+ICdZZykmrGzHVjBJkgP/jpnHAgrdI84GKV3trPU8VX3KcLOYlQES+Hyl89nljF qVVCwJ4LpmCvTLm+sgPUMiB83IEy94FRzTwSsajAjaMxZpeHeDkGyFJrhrmLqrCD EcEYozKxsRRlBuQ= Received: (qmail 98311 invoked from network); 18 Nov 2012 17:10:28 -0600 Received: from unknown (HELO ?10.10.0.115?) (bryan@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 18 Nov 2012 17:10:28 -0600 Message-ID: <50A96AE2.60803@shatow.net> Date: Sun, 18 Nov 2012 17:10:26 -0600 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Why do we need vfs.root.mountfrom for zfs References: <848051353247434@web29h.yandex.ru> <50A934D2.9010205@FreeBSD.org> <1026501353267511@web27h.yandex.ru> <50A93A6E.1090907@FreeBSD.org> In-Reply-To: <50A93A6E.1090907@FreeBSD.org> X-Enigmail-Version: 1.4.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, vermaden X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 23:10:33 -0000 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" : >>> 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