[Bug 272365] sysutils/openzfs & sysutils/openzfs-kmod do not boot
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 17:23:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272365 Bug ID: 272365 Summary: sysutils/openzfs & sysutils/openzfs-kmod do not boot Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freqlabs@FreeBSD.org Reporter: michael.hmich@gmail.com Flags: maintainer-feedback?(freqlabs@FreeBSD.org) Assignee: freqlabs@FreeBSD.org since the kmod port does not compile I pulled from openzfs github which compiles well and works with stock zfs.ko, I think that is because the version number is newer it does not really boot with openzfs_load=YES as instructed, the kernel is found and booted, but stops at mountroot trying to boot from zroot/ROOT/default, and stops then because there is no suitable filesystem, even if it just booted the kernel from zroot, in other words, we are on zroot but it says it can not find zroot ... if PATH is also corrected to give search preference to sbin, openzfs works like expected, but that is far from being enough, also setting the path in earlier relevant scripts, it does not work the problem at this point, at least for me, verbose_boot does not help and failing at mounting root there are no other options as typing a valid boot device bectl is not a solution for this case, we're using just another kmod and that's all when you look into rc.d at zfs, zpool, zvol and zfsbe they have all the same limitation, they expect required_modules="zfs", not openzfs at this point normally is endpoint, there's not so much to do but guessing I created openzfs scripts as openzfs, openzpool, openzfsbe including not only the search path corrected but also added a fullpath prefix as DIR="/usr/local/sbin" to be sure that the openzfs binaries will be used accordingly, each script is working correctly integrated with the others when needed, adding openzfs_enable var to rc.conf, means I can easily switch between zfs and openzfs zfsd I've ignored so far, because I don't need it but, unfortunately it is still hanging at mounting root and I'm back at the beginning please don't ask why I want to use openzfs, then I must answer why it is there? but seriously, I have some zpools running on linux and after last zfs upgrade I answered without thinking yes to upgrade the pools, since then I have no access from Freebsd workstations any more because of two new feature completing my box FreeBSD hm-fbsd 13.2-STABLE FreeBSD 13.2-STABLE #0 stable/13-a86b5f4f06-dirty: Mon Jul 3 18:13:27 -03 2023 root@hm-fbsd:/usr/obj/usr/src/amd64.amd64/sys/HMichZ amd64 hm@hm-fbsd:~ % which zfs /usr/local/sbin/zfs hm@hm-fbsd:~ % zfs -V zfs-2.2.99-1 zfs-kmod-2.1.12-FreeBSD_g86783d7d9 so now what can I do? I might not have enough knowledge of the little secrets,if somebody know, please tell me what to do the problem is not only openzfs ports, but pkg also, both give the same description and that is uncomplete if not wrong, but who knows I'm just blind or too stupid :) thanks in advance -- You are receiving this mail because: You are the assignee for the bug.