Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2020 10:28:22 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD on AWS with root-on-zfs?
Message-ID:  <20200316032822.GA88516@admin.sibptus.ru>
In-Reply-To: <20200315055157.GA64075@admin.sibptus.ru>
References:  <20200310033243.GB170@admin.sibptus.ru> <c5fb19c0-26b6-8771-2507-92768c2bdaee@FreeBSD.org> <20200310084330.GA4688@admin.sibptus.ru> <20200315055157.GA64075@admin.sibptus.ru>

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

Victor Sudakov wrote:
> Victor Sudakov wrote:
> > Matthew Seaman wrote:
> > > > Is anyone using FreeBSD as a EC2 instance, what would you do if you
> > > > wanted a root-on-zfs AMI?
> > >=20
> > > Colin Percival published some root-on-ZFS AMIs a while back -- see
> > > https://lists.freebsd.org/pipermail/freebsd-cloud/2019-February/00020=
0.html
> >=20
> > Good news.
> >=20
> > >=20
> > > I've used these with great success.  I haven't seen an announcement o=
f a
> > > 12.1-RELEASE version yet -- not sure what Colin's plans are, but I th=
ink
> > > the idea was to offer this layout as an additional set of the official
> > > FreeBSD AMIs at some point.
> >=20
> >=20
> > I've just launched an EC2 instance with "FreeBSD 12.0-RELEASE-amd64 ZFS
> > (ami-054939ebd299da308)".  It works!
> >=20
> > I think I can freebsd-update it to 12.1 myself until a 12.1 AMI is
> > available.
> >=20
> > Thanks! And I should go and support Colin's endeavor.
>=20
> One of the major advantages of the root-on-ZFS configuration is the
> possibility to select a different BE from the loader prompt if something
> goes wrong with the current BE.
>=20
> On AWS, the loader prompt is inaccesible, so how can we utilize this
> powerful feature?

Answering my own question, "bectl activate" has the "-t" flag:

If the [-t] flag is given, this takes effect only for the next boot.

This does not work in bhyve for some reason (does not boot the temporary BE=
):
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244838
but may work in AWS because it does not use bhyveload hopefully.


--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature; name="signature.asc"

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

iQEcBAEBAgAGBQJebvJWAAoJEA2k8lmbXsY0hHwIALGuo43+kG1Si37FbmvRYEVQ
VhC/P6vJq2s9Tw28uc63nckLuG2UMyPvhJUl9KLwlEX2Ig1ERA0wHLf24TV9tUFb
GqquHjja9sLx5vA+CmOHF1t6bmBd6Sk1Ss9KyJ6bFan9hXLEE/RXp8Dx2QJt92Di
iLoaOK3lWuMTS8hs6JUcAE7IaEEgp2689MXXi48K0Xc0pATCnN38ZVLQNBqjxp3u
vk0us1DCXaeRJqhlrRZIJ5c+Zo6gJhUDme2o+0X/annx44n+/Ur55FaSwrNbPX/c
cHmU8ed/yHXEe8a0c2tC/nuMKElWhzFq+A3qEHY9bzT80g/xuKWkXaR0iJVVXDw=
=yt7Q
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--



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