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

I/O error mounting volume created while userspace tools and kernel module mismatch #16716

Open
dscottboggs opened this issue Nov 2, 2024 · 1 comment

Comments

@dscottboggs
Copy link

dscottboggs commented Nov 2, 2024

What happened: after a system update (NixOS), but before a reboot was performed, a volume was created and data was written to it. After a reboot was eventually performed, the volume would not mount due to an I/O error.

More details: I discovered the version mismatch while investigating an error being produced by zfs send ("warning: cannot send [volume@snapshot]: Invalid argument"). I found that zfs --version output two different versions, ran another system update and rebooted.

$ # BEFORE reboot
# zfs --version
zfs-2.2.6-1
zfs-kmod-2.2.4-1
$ # AFTER reboot
$ uname -a
Linux revivajxo 6.6.58 #1-NixOS SMP PREEMPT_DYNAMIC Tue Oct 22 13:46:36 UTC 2024 x86_64 GNU/Linux

Relevant link: https://discourse.practicalzfs.com/t/error-syncing-some-datasets-invalid-argument-from-zfs-send/1896

Edit: I do still have a copy of the corrupted dataset so if there is more information about it I can give you please do let me know.

@dscottboggs
Copy link
Author

Interesting, the copy of that dataset that I have is now refusing to send via zfs send

sudo zfs send revivajxo2_dup/mastodon-postgres-corrupted | pv -pteras 4664520704 | sudo zfs recv -o keylocation=file:///etc/revivajxo2.key revivajxo/mastodon-postgres-corrupted
warning: cannot send 'revivajxo2_dup/mastodon-postgres-corrupted': Invalid argument
0:00:00 [0.00  B/s] [0.00  B/s] [>                                                               ]   0%            
cannot receive: failed to read from stream

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

No branches or pull requests

1 participant