ublue-os / ucore

An OCI base image of Fedora CoreOS with batteries included
https://projectucore.io
Apache License 2.0
155 stars 32 forks source link

Failed to initialize the libzfs library. #161

Closed TeamLinux01 closed 4 months ago

TeamLinux01 commented 4 months ago

Running ucore-hci:stable-zfs and when I try to run the zfs or zpool command as either the normal user or root user, I receive the error: Failed to initialize the libzfs library.

zfs --version output:

zfs-2.2.4-1
zfs_version_kernel() failed: No such file or directory

Let me know what else I should provide. I am pretty new to ucore, but I have been learning and I like the way it deploys and works.

Edit: I should have read more of the instructions. I did not read this https://github.com/ublue-os/ucore?tab=readme-ov-file#zfs and I was pulling in a USB drive with ZFS, so I will retest with

echo zfs > /etc/modules-load.d/zfs.conf

to always load the module.

Sorry for any inconvenience.