13-CURRENT won't boot after switch to sysutils/openzfs
marco
freebsd-current at lordsith.net
Sat Aug 22 16:27:48 UTC 2020
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
(pkg+http://pkg.FreeBSD.org/${ABI}/latest)
current BEs
[~] bectl list -aDs
BE/Dataset/Snapshot Active Mountpoint Space Created
r364030
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
r364030-OpenZFS
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:
openzfs-2020080800
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
https://keybase.io/scarcry , GnuPG id: 8580E6CB
"The Tuck Pendleton machine...zero defects."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200822/4f3fda7c/attachment.sig>
More information about the freebsd-current
mailing list