FreeBSD 13-RELEASE install forgest SSD-based ZFS volume
mail at ozzmosis.com
Thu Apr 15 13:35:37 UTC 2021
On 2021-04-14 22:55:43, Scott Gasch (scott.gasch at 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".
More information about the freebsd-questions