From owner-freebsd-fs@FreeBSD.ORG Wed Oct 3 14:59:16 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 6A542106564A; Wed, 3 Oct 2012 14:59:16 +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 880E58FC08; Wed, 3 Oct 2012 14:59:14 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA07394; Wed, 03 Oct 2012 17:59:13 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <506C52C1.10405@FreeBSD.org> Date: Wed, 03 Oct 2012 17:59:13 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <505DE715.8020806@FreeBSD.org> <20121003085326.GC1386@garage.freebsd.pl> In-Reply-To: <20121003085326.GC1386@garage.freebsd.pl> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "Justin T. Gibbs" , freebsd-fs@FreeBSD.org Subject: Re: zfs: allow to mount root from a pool not in zpool.cache 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, 03 Oct 2012 14:59:16 -0000 on 03/10/2012 11:53 Pawel Jakub Dawidek said the following: > GEOM tasting would most likely require rewriting the code heavly. Almost all lines are already there (for device search by guid). Only some reshuffling would be needed :-) > Also note that you can have pools in you system that do match your > hostid, but user decided to keep exported and such pool should not be > configured automatically. Not a huge problem probably as there is pool > status somewhere in the metadata that we can use to see if the pool is > exported or not. Yeah, either using host id and pool status or keeping zpool.cache as just a list of pools to auto-import. Or some combination. -- Andriy Gapon