Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2012 20:03:23 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
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
Message-ID:  <20121005180322.GA1684@garage.freebsd.pl>
In-Reply-To: <20121005174223.GU71113@over-yonder.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121005180322.GA1684>