Date: Thu, 15 Apr 2021 23:35:28 +1000 From: andrew clarke <mail@ozzmosis.com> To: scott@gasch.org Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 13-RELEASE install forgest SSD-based ZFS volume Message-ID: <20210415133528.lanr3zvxcrd4m5vl@ozzmosis.com> In-Reply-To: <CABYAQkRbz=n86GEAriOVoHU12_ao3dDx_QxcEiAmdsCaNEn_Qg@mail.gmail.com> References: <CABYAQkRbz=n86GEAriOVoHU12_ao3dDx_QxcEiAmdsCaNEn_Qg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-04-14 22:55:43, Scott Gasch (scott.gasch@gmail.com) wrote: > I'm trying to upgrade a system from 12.2 to 13.0. The system has two ZFS > volumes: z and zssd. The former is a mirror set based on spinning platter > disks and the latter is a mirror set based on two ssd devices. > > I've gotten as far as installing the new kernel and rebooting at which > point the system is screwed up because, on boot, zssd no longer exists. > Note: the kernel is 13.0 while userland is still 12.2 at this point. My experience upgrading to 13.0 was similar, but resolved itself after upgrading userland and rebooting: I have two ZFS pools (both mirrors): zroot and tank. FreeBSD boots from zroot. I upgraded from 12.2 to 13.0 with "freebsd-update upgrade -r 13.0-RELEASE", ran "freebsd-update install" then rebooted to load the 13.0 kernel. At this point userland was still at 12.2, and tank was missing from "zpool status". Only zroot was visible. I didn't try to import tank manually. After running "freebsd-update install" a second time to install 13.0 userland and rebooting again, FreeBSD 13.0 booted from zroot and both it and tank was visible once more with "zpool status", and from there it was business as usual. I imagine I'd have been a bit stuck if /var/db/freebsd-update/ happened to be a symlink to a location on the "tank" pool, because freebsd-update wouldn't be able to complete the upgrade. But that wasn't the case, and spreading the base system over multiple pools seems unwise anyway. I don't know if any of this is helpful. If not you'll need to elaborate on "the system is screwed up".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210415133528.lanr3zvxcrd4m5vl>