(user error, resolved) #16571
Replies: 4 comments 11 replies
-
One thought I -- recently started adjusting the size of my ARC memory.... which I do by.. running this command....
adding this line to zfs.conf .....
and then running this command...
this last command produces the output After I do this, I reboot, and ZFS fails to load with the Should I just give up on this and assume there is no safe way to adjust any ZFS settings like this under Ubuntu? DISCOVERY: |
Beta Was this translation helpful? Give feedback.
-
See here for how Ubuntu broke that a long time ago. |
Beta Was this translation helpful? Give feedback.
-
Thanks, are you sure that is the right link? That seems to be the main OpenZFS directions, which I found were outdated. Do you have any recommended strategy to install ZFS on Ubuntu? |
Beta Was this translation helpful? Give feedback.
-
Here is some relevant discussion. https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2044657 From what I can understand, Canonical considers that 2.2.2 should still work with modern Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
I previously was able to install ZFS on 22.04, and 24.04, and it seemed to work fine -- but recently if I do any software update on either of this LTS releases, ZFS fails completely -- when I try to run it, I get the
Failed to initialize the libzfs library
error. I think Canonical may have recently pushed an update which kills ZFS.I've made multiple attempts to reinstall ZFS but have not yet succeeded.
As far as I can tell these directions are out of date: https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/index.html
-- I get a lot of error messages about PGP keys.
Previously I had used...
But this installs version ZFS 2.2.2. It was working previously, but now that, after I reboot I get the
Failed to initialize the libzfs library
error, I realize that 2.2.2 is very old and not compatible Linux 6.8 kernel.It also seems that Canonical have modified their installers going back to 22.04, such that it's not straightforward to install a version of Ubuntu that has an old enough kernel to be compatible with ZFS 2.2.2.
So -- I should try building from source, right?
I've tried starting here: https://zfsonlinux.org/ ... and starting from here: https://openzfs.github.io/openzfs-docs/Developer%20Resources/Building%20ZFS.html#configure-and-build .... all of these fail with multiple errors like
I've also tried going to the "Ubuntu" installation instructions here: https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/index.html
Which seem to push me back to 2.2.2.
Can anyone give me any hints for the best strategy to get ZFS working under Ubuntu?
I don't want to install it on my root boot disk or anything fancy -- I just want to set up a zpool mirror...
thanks!
Beta Was this translation helpful? Give feedback.
All reactions