From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 16:05:00 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 259B17EF; Thu, 4 Jul 2013 16:05:00 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id A79621EBF; Thu, 4 Jul 2013 16:04:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id r64G4wBK056115; Thu, 4 Jul 2013 20:04:58 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Thu, 4 Jul 2013 20:04:58 +0400 (MSK) From: Dmitry Morozovsky To: Andriy Gapon Subject: Re: boot from ZFS: which pool types use? In-Reply-To: <51D59AAD.3030208@FreeBSD.org> Message-ID: References: <51D56066.1020902@FreeBSD.org> <51D577A9.1030304@gmail.com> <51D59AAD.3030208@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Thu, 04 Jul 2013 20:04:58 +0400 (MSK) Cc: freebsd-fs@FreeBSD.org, Volodymyr Kostyrko 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: Thu, 04 Jul 2013 16:05:00 -0000 On Thu, 4 Jul 2013, Andriy Gapon wrote: > >>>>> Can't find /boot/zfsloader > >>>> > >>>> Does this file exist in the filesystem pointed to by bootfs property (if > >>>> set)? > >>> > >>> Arghh!!! I missed to set this one (however, this is the only zfs pool on the > >>> machine -- shouldn't the loader assume it is safe to try to boot off?) > >>> > >>> Regarding your other questions: > >> > >> That's weird. On all my machines I always set only vfs.root.mountfrom in > >> /boot/loader.conf to point to dataset containing root fs. > > > > In my last case, this was not enough. > > > > And this is redundant if bootfs is correctly set. 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 ;) -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------