From owner-freebsd-fs@FreeBSD.ORG Wed Oct 14 06:28:35 2009 Return-Path: Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F967106568D; Wed, 14 Oct 2009 06:28:35 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9316E8FC1F; Wed, 14 Oct 2009 06:28:34 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 0A9ED45CAC; Wed, 14 Oct 2009 08:28:33 +0200 (CEST) Received: from localhost (chello087206049004.chello.pl [87.206.49.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ED95F45B36; Wed, 14 Oct 2009 08:28:27 +0200 (CEST) Date: Wed, 14 Oct 2009 08:28:27 +0200 From: Pawel Jakub Dawidek To: Andriy Gapon Message-ID: <20091014062827.GC1696@garage.freebsd.pl> References: <4AD3220B.5030502@icyb.net.ua> <86ws30ikfw.fsf@gmail.com> <4AD45A8D.4070605@icyb.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pk6IbRAofICFmK5e" Content-Disposition: inline In-Reply-To: <4AD45A8D.4070605@icyb.net.ua> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@FreeBSD.ORG, Anonymous , freebsd-current@FreeBSD.ORG Subject: Re: zfs boot vs loader X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 06:28:35 -0000 --Pk6IbRAofICFmK5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 13, 2009 at 01:46:37PM +0300, Andriy Gapon wrote: >=20 > Thanks to all who replied! > I think that I figured it out with your help. >=20 > 'unload' does indeed unload zpool.cache and the latter is needed for prop= er zfs > root mounting. > 'boot /other/kernel' executes some loader scripts and zpool.cache gets lo= aded in > this case (because of the settings in defaults/loader.conf). > When doing manual 'load xxx' and then just 'boot' no loader scripts are e= xecuted > and zpool.cache does not get loaded. In this case one has to load it manu= ally > using the suggested 'load -t xxx' approach. Could you repeat what you were doing but with vfs.zfs.debug set to 1 from the loader? You should see some messages about missing file, maybe we should do them visible always and not after increasing debug level? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFK1W+KForvXbEpPzQRAsAXAJ9LWdtKzOwrlZAfq6yVOZCnGWB8JgCfWSUr tqaZYC/lZtc5Do9/Yf9z6M8= =A5Tp -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--