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

Mismatched ZFS versions cause crashes (was: coredump on predicting size when cloning from dotmesh on ubuntu 18.04) #440

Closed
lukemarsden opened this issue Jun 7, 2018 · 6 comments
Assignees
Labels

Comments

@lukemarsden
Copy link
Collaborator

screen shot 2018-06-07 at 12 09 37

probably because of kernel/userland mismatch

@lukemarsden lukemarsden added the bug label Jun 7, 2018
@lukemarsden
Copy link
Collaborator Author

Need to detect zfs kernel version and provide appropriate userland tools for dotmesh to use.

Also look into libzfs_core, but don't burn lots of time on it

@lukemarsden
Copy link
Collaborator Author

we can use modinfo -F version zfs to detect the kernel version
to get the bionic userland tools (0.7 ZoL branch) working we really need a bionic production image though...

@alaric-dotmesh alaric-dotmesh changed the title coredump on predicting size when cloning from dotmesh on ubuntu 18.04 Mismatched ZFS versions cause crashes (was: oredump on predicting size when cloning from dotmesh on ubuntu 18.04) Jul 2, 2018
@lukemarsden lukemarsden changed the title Mismatched ZFS versions cause crashes (was: oredump on predicting size when cloning from dotmesh on ubuntu 18.04) Mismatched ZFS versions cause crashes (was: coredump on predicting size when cloning from dotmesh on ubuntu 18.04) Jul 17, 2018
@lukemarsden lukemarsden mentioned this issue Jul 27, 2018
2 tasks
@alaric-dotmesh
Copy link
Contributor

Proposal: Have multiple ZFS toolsets in different directories, then in all zfs commands run them like this:

LD_LIBRARY_PATH=$ZFS/lib $ZFS/bin/[zpool|zfs] ...

lukemarsden added a commit that referenced this issue Jul 29, 2018
@lukemarsden
Copy link
Collaborator Author

This is needed for #519

@lukemarsden lukemarsden self-assigned this Jul 29, 2018
lukemarsden added a commit that referenced this issue Jul 29, 2018
@lukemarsden
Copy link
Collaborator Author

lukemarsden commented Aug 1, 2018

root@e0fb4db7e0c5:/opt/zfs-0.6# LD_LIBRARY_PATH=/opt/zfs-0.6/lib /opt/zfs-0.6/sbin/zpool

is working now for 0.6, next step is to figure out whether it still works when run from a differing base system

@alaric-dotmesh
Copy link
Contributor

Done!

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

2 participants