From owner-freebsd-fs@FreeBSD.ORG Fri Oct 5 18:02:52 2012 Return-Path: <owner-freebsd-fs@FreeBSD.ORG> 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 2A659106566B; Fri, 5 Oct 2012 18:02:52 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (garage.dawidek.net [91.121.88.72]) by mx1.freebsd.org (Postfix) with ESMTP id DCD6D8FC08; Fri, 5 Oct 2012 18:02:51 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 5281B53D; Fri, 5 Oct 2012 20:01:43 +0200 (CEST) Date: Fri, 5 Oct 2012 20:03:23 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Matthew D. Fuller" <fullermd@over-yonder.net> Message-ID: <20121005180322.GA1684@garage.freebsd.pl> References: <505DE715.8020806@FreeBSD.org> <DA42C8E9-BFFF-4C5A-9E14-1D50EAEFA669@scsiguy.com> <506C50F1.40805@FreeBSD.org> <20121005063848.GC1389@garage.freebsd.pl> <20121005174223.GU71113@over-yonder.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <20121005174223.GU71113@over-yonder.net> X-OS: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "Justin T. Gibbs" <gibbs@scsiguy.com>, freebsd-fs@FreeBSD.org, Andriy Gapon <avg@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 <freebsd-fs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>, <mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs> List-Post: <mailto:freebsd-fs@freebsd.org> List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>, <mailto:freebsd-fs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 05 Oct 2012 18:02:52 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 05, 2012 at 12:42:23PM -0500, Matthew D. Fuller wrote: > On Fri, Oct 05, 2012 at 08:38:49AM +0200 I heard the voice of > Pawel Jakub Dawidek, and lo! it spake thus: > >=20 > > In my opinion requiring no zpool.cache to import root pool and mount > > root file system is great idea and we should definiately do it. >=20 > As a user, I heartily agree. I've setup a number of ZFS systems now, > generally by booting up a live CD/USB/existing install on an extra > drive, setting up and installing files, then unplugging the temp drive > and letting it come up. >=20 > So far, I haven't yet _ever_ had it actually boot right the first > time. It keeps getting up to the root mount and failing. I've always > had to plug the other drive back in and "squirrel around" with > zpool.cache until it works. The last time, I believe it was because > during the setup I had one NIC plugged in, and the "real" system used > the other, so the hostid wound up different? It's kinda like an > adventure game, but the replay value is a bit low 8-} Hostid is not used for root pool, but I'm aware current way of setting up ZFS this way is far from being intuitive and requires some understanding of how it work internally. It shouldn't be that way and I'm glad it will change. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBvIOoACgkQForvXbEpPzQzEwCfYqh9wF0tOqs8etwaCTbPuXmq 0ksAoLkk3odVPdzVJJ7skkVtkiMcmxMh =dyIR -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--