Re: 13-CURRENT won't boot after switch to sysutils/openzfs

From: marco <>
Date: Sat, 22 Aug 2020 16:27:43 +0000
On Sat, Aug 22, 2020 at 09:47:49AM -0400, you (Ryan Moeller) sent the following to [freebsd-current] :
> On 8/22/20 9:29 AM, Ryan Moeller wrote:
> >>
> >> When switching from base ZFS to sysutils/openzfs 2020080800 the boot 
> >> process fails.
> >
> > The most recent version (2020081800) fixes this.
> >
> > -Ryan
> >
> Sorry, pre-coffee. I don't think the issue I had in mind there (OpenZFS 
> uses /etc/zfs/zpool.cache instead of /boot/zfs/zpool.cache, we added a 
> fallback) explains your problem.
> Did you install openzfs from the pkg repo?

I installed openzfs from the latest FreeBSD repo

current BEs

 [~] bectl list -aDs
BE/Dataset/Snapshot                          Active Mountpoint Space Created

  zroot/ROOT/r364030                         NR     /          15.2G 2020-08-11 08:25
  r364030_at_2020-08-22-15:52:19-0              -      -          31.4M 2020-08-22 15:52

  zroot/ROOT/r364030-OpenZFS                 -      /mnt       419M  2020-08-22 15:52
    zroot/ROOT/r364030_at_2020-08-22-15:52:19-0 -      -          31.4M 2020-08-22 15:52

Just did a 'pkg update' on my active BE.
I don't know what is happening here, can't seem to upgrade openzfs:

 [~] pkg version | grep openzfs
openzfs-2020080800                 <
openzfs-kmod-2020080800            <

So there should be an update for sysutils/openzfs and openzfs-kmod but running a 'pkg upgrade' doesn't list openzfs for an upgrade.

After creating and mounting the new BE I've also tried:

 [~] d bectl mount r364030-OpenZFS /mnt
 [~] d pkg -r /mnt update -f
 [~] d pkg -r /mnt upgrade

Openzfs isn't listed for an upgrade.
After the pkg upgrade, running pkg version claims :

 [~] pkg -r /mnt version | grep openzfs
openzfs-2020080800                 =
openzfs-kmod-2020080800            =

 [~] d pkg -r /mnt upgrade -f openzfs
 [~] d pkg -r /mnt upgrade -f openzfs
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:

Number of packages to be reinstalled: 1

2 MiB to be downloaded.

Proceed with this action? [y/N]:

So besides not being able to boot from the openzfs 2020080800 package install, I can't figure out why I can't upgrade the openzfs pkg to 2020081800 (which is the latest one in ports so I presume a package also exists of that same version)

Marco van Lienen -- FreeBSD enthusiast , GnuPG id: 8580E6CB
"The Tuck Pendleton defects."

Received on Sat Aug 22 2020 - 14:27:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC