Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ZFS in ucore:stable-zfs? #210

Closed
thomasazar opened this issue Nov 13, 2024 · 8 comments
Closed

No ZFS in ucore:stable-zfs? #210

thomasazar opened this issue Nov 13, 2024 · 8 comments
Assignees
Labels

Comments

@thomasazar
Copy link

This morning, I saw a number of errors on my home network, apparently due to missing mounts. After logging into my server and running zfs list, I saw a rather dreadful message:

The ZFS modules cannot be auto-loaded. Try running 'modprobe zfs' as root to manually load them.

So I dutifully ran the modprobe command, and I was met with this:

modprobe: FATAL: Module zfs not found in directory /lib/modules/6.11.3-300.fc41.x86_64)

Confident in the atomic nature of the server, I quickly entered rpm-ostree rollback, then rebooted into having a working zpool again. It looks like the rebase onto Fedora 41 may not have built the ZFS modules? (I'll confess, I don't know much about the underpinnings of ucore.) The rollback is still based on Fedora 40, so I'm pinning it for now.

@dosubot dosubot bot added the zfs label Nov 13, 2024
@m2Giles
Copy link
Member

m2Giles commented Nov 13, 2024

Which image are you on specifically?

https://github.com/ublue-os/ucore/actions/runs/11809785436/job/32900704526#step:12:378

Zfs is getting installed, but this could be an issue with depmod.

@thomasazar
Copy link
Author

Here's the output from rpm-ostree status:

State: idle
AutomaticUpdates: apply; rpm-ostreed-automatic.timer: last run 1h 29min ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/ucore:stable-zfs
                   Digest: sha256:5e139150cef36fb937e8b9a905c50d3f0e10fbec1061748cefb71b0125c0a7b8
                  Version: 41.20241027.3.0 (2024-11-13T03:02:55Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/ucore:stable-zfs
                   Digest: sha256:1bae328358cda9c089b03cb0150318ae8c0492c3ba6d279e42b385f9d432e3f9
                  Version: 40.20241019.3.0 (2024-11-12T03:01:59Z)

The top image is where the error occurred, the bottom one is the one to which I rolled back.

@bketelsen
Copy link
Member

I'm getting this too!

@bsherman bsherman self-assigned this Nov 14, 2024
@bsherman
Copy link
Collaborator

I'm investigating this issue...

So far I'm quite confused as I can reproduce on a test VM but not on my main home server with a lot of ZFS ... even on the latest update, that machine is still working fine.

@bsherman
Copy link
Collaborator

As @m2Giles this seems like a depmod issue... as the ZFS kmod files are certainly present and can be loaded.

root@test-ucore-stable:~# rpm-ostree status -b
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
BootedDeployment:
● ostree-unverified-image:docker://ghcr.io/ublue-os/ucore:stable-zfs-20241112
                   Digest: sha256:b58d52d627448614ee5d6a5dc67827c8328d446966f19c97e9abb88c1ab822d3
                  Version: 41.20241027.3.0 (2024-11-12T20:30:20Z)
root@test-ucore-stable:~# modprobe zfs
modprobe: FATAL: Module zfs not found in directory /lib/modules/6.11.3-300.fc41.x86_64
root@test-ucore-stable:~# insmod /lib/modules/6.11.3-300.fc41.x86_64/extra/zfs/spl.ko 
root@test-ucore-stable:~# insmod /lib/modules/6.11.3-300.fc41.x86_64/extra/zfs/zfs.ko 
root@test-ucore-stable:~# 

bsherman added a commit that referenced this issue Nov 14, 2024
There is a difference in how Bluefin and uCore run depmod, so I'm trying
their method as that seems to at least not hurt, and may resolve this.

Relates: #210
@bsherman
Copy link
Collaborator

@thomasazar and @bketelsen I believe the stable build after mergint #211 has resolved the issue for me in my test VM.

Can you confirm and we'll close this as fixed?

@bsherman
Copy link
Collaborator

@bketelsen confirmed this fixed the issue for him via Discord thread.

@thomasazar
Copy link
Author

Indeed, everything is coming up ZFS on my updated server. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants