From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 12:36:57 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 AA6BA2B3 for ; Thu, 4 Jul 2013 12:36:57 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 035331260 for ; Thu, 4 Jul 2013 12:36:56 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA08549; Thu, 04 Jul 2013 15:36:32 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Uuim0-000EdS-LD; Thu, 04 Jul 2013 15:36:32 +0300 Message-ID: <51D56C19.8080103@FreeBSD.org> Date: Thu, 04 Jul 2013 15:35:37 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: Dmitry Morozovsky Subject: Re: boot from ZFS: which pool types use? References: <51D56066.1020902@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org 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 12:36:57 -0000 on 04/07/2013 15:01 Dmitry Morozovsky said the following: > On Thu, 4 Jul 2013, Dmitry Morozovsky 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?) > > For the record: setting up zpool bootfs property fixes the issue. > > I suppose it should be emphasized in all guides to not miss this, to avoid > confusions; also, maybr some reasonable defaults should be implemented to help > avoiding simple configuration errors. > > Thanks Andriy a lot, I really needed a 'reset press' from outside after > kinda-3-days dances around this machine ;-) Setting bootfs should not be required. If your root filesystem is your root dataset (like "tank"), then everything should have just worked. -- Andriy Gapon