From owner-freebsd-fs@FreeBSD.ORG Wed Sep 7 10:23:35 2011 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 39C65106564A; Wed, 7 Sep 2011 10:23:35 +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 DEF378FC08; Wed, 7 Sep 2011 10:23:33 +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 NAA13053; Wed, 07 Sep 2011 13:23: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 1R1FI3-0004wl-R1; Wed, 07 Sep 2011 13:23:31 +0300 Message-ID: <4E674622.3040705@FreeBSD.org> Date: Wed, 07 Sep 2011 13:23:30 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20110907044800.GA96277@server.vk2pj.dyndns.org> <4E673751.5080503@FreeBSD.org> <20110907094554.GB1674@garage.freebsd.pl> In-Reply-To: <20110907094554.GB1674@garage.freebsd.pl> X-Enigmail-Version: undefined Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, Artem Belevich , =?windows-1252?Q?Martin_Matu=9Aka?= Subject: Re: "can't load 'kernel'" on ZFS root 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, 07 Sep 2011 10:23:35 -0000 on 07/09/2011 12:45 Pawel Jakub Dawidek said the following: > The zpool.cache file contains pools that are automatically imported at > system start-up. There might be pools visible in the system that are not > suppose to be automatically imported (eg. a pool on iSCSI disks on > secondary cluster node - importing such pool automatically will corrupt > the data). What about providing a special case for a pool from which we want to boot? Erm, not boot, but to mount a root filesystem. I suppose that we must know name/ID of that pool and if it is not present in zpool.cache, then we could try to find it. Or is this dangerous too? -- Andriy Gapon