Date: Mon, 22 Aug 2022 19:04:37 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Peter Jeremy <peterj@freebsd.org>, "Patrick M. Hausen" <pmh@hausen.com> Cc: Ryan Moeller <freqlabs@freebsd.org>, freebsd-current@freebsd.org Subject: Re: Beadm can't create snapshot Message-ID: <05974a7f-ec80-3ab0-c09b-2a222148e4a2@FreeBSD.org> In-Reply-To: <YwNMd6xjfhu8TS2a@server.rulingia.com> References: <01000182ac3b8593-fb381303-5719-4863-8fda-2530efcab31b-000000@email.amazonses.com> <2818f3da-3ae2-e6e3-9282-8b62263fb5f3@FreeBSD.org> <C4A81AF9-2C11-4931-B5D9-1B257AB583DF@hausen.com> <YwNCQSL5PmvO2nOs@server.rulingia.com> <1E09DD0A-9F26-4BAD-9CA4-B3593B2DE836@hausen.com> <YwNMd6xjfhu8TS2a@server.rulingia.com>
index | next in thread | previous in thread | raw e-mail
On 2022-08-22 12:29, Peter Jeremy wrote: > On 2022-Aug-22 10:56:51 +0200, "Patrick M. Hausen" <pmh@hausen.com> wrote: >>> Am 22.08.2022 um 10:45 schrieb Peter Jeremy <peterj@freebsd.org>: >>> On 2022-Aug-17 18:07:20 +0200, "Patrick M. Hausen" <pmh@hausen.com> wrote: >>>> Isn't beadm retired in favour of bectl? >>> >>> 2) "bectl activate" doesn't update /boot/loader.conf so the wrong >>> root filesystem is mounted. >> >> You mean the vfs.root.mountfrom option? I thought that, too, was deprecated and >> replaced by the bootfs property of the zpool. > > I've looking through mailing list archives and searched the 'net and > haven't found anything saying vfs.root.mountfrom is deprecated. > loader(8) mentions that it will fallback to using "currdev" if there's > no root entry in /etc/fstab and vfs.root.mountfrom isn't set. It's not deprecated, but it's a manual override of a _normal_ ZFS boot flow. If you mount root via fstab or you override it via vfs.root.mountfrom, then you should know what you do and why. > At the very least, it's an undocumented incompatibility between beadm > and bectl: I can't take an existing system that's using beadm and just > switch to using bectl. Yeah, but I would blame beadm for doing things in a backwards fashion. -- Andriy Gapon https://standforukraine.com https://razomforukraine.orghelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05974a7f-ec80-3ab0-c09b-2a222148e4a2>
