Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2017 16:02:54 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Peter Pauly <ppauly@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Moving a bootable ZFS USB between systems
Message-ID:  <20170215160254.696d3a1e@fabiankeil.de>
In-Reply-To: <CAKXfWbSjdRfi4XrefxzA6%2BUwH_ShRaUQTbO4KhCQau64=TWHsQ@mail.gmail.com>
References:  <CAKXfWbSjdRfi4XrefxzA6%2BUwH_ShRaUQTbO4KhCQau64=TWHsQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Dm7sIy+HoSrZizgb0G3lPpU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Peter Pauly <ppauly@gmail.com> wrote:

> I installed FreeBSD 11 with an encrypted GELI root and ZFS (zroot) on a
> USB stick. My intention was to boot off of it on several systems. It
> works fine on the original system but not on a second system.
>=20
> I get this message:
> Mounting from zfs:zroot/ROOT/default failed with error 5.
>=20
> The USB stick is da0.
>=20
> The geli part looks like it works, but the zfs mount fails.

Assuming the boot ends at the mountroot prompt, this is likely the
result of a known bug that is only triggered on some systems:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208882

You could try the patch from the PR. It has been included in
ElectroBSD since more than a year now without causing any known
issues.

> Should I be able to move the stick between systems or do I need to do a
> zpool export zroot first? If so, where is the best place to put this
> (rc.shutdown?)

In general, moving USB sticks around should not require any special steps.

Fabian

--Sig_/Dm7sIy+HoSrZizgb0G3lPpU
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCWKRtnwAKCRAFiohV/3dU
nRWUAJ4xhNvxn5DIHi1/8rn1Ip9GNZiMxgCeJXSrR5VOffy/1y+P2gfgsQQTEb0=
=/sD2
-----END PGP SIGNATURE-----

--Sig_/Dm7sIy+HoSrZizgb0G3lPpU--



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