Debian 8, Proxmox: "zfs: symbol lookup error"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Debian 8, Proxmox: "zfs: symbol lookup error"

Post by ^rooker »

[PROBLEM]
Setup fresh Debian 8 and Proxmox by apt-get.
Installed ZFS support according to instructions.
Worked.
Then I created a pool.
Worked.

Following instructions on "NerdOnCoffee", but "zpool create ..." gives me the following error:
zfs: symbol lookup error: zfs: undefined symbol: zfs_unshare_iscsi
Seems that there's a strict order in which to install Proxmox + ZFS packages onto a Debian system:
https://forum.proxmox.com/threads/zfs-s ... csi.29122/


Tried to deinstall the zfsonline packages manually (apt-get remove zfs...).

Then tried to deinstall "libzpool2":
The following packages have unmet dependencies:
grub-common : Depends: libzfs2 but it is not going to be installed
grub2-common : Depends: libzfs2 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
*sigh* :?

[SOLUTION]
I've added Proxmox repositories to apt/sources, as described in the documentation about Proxmox Package Repositories.
The "pve-no-subscription" is sufficient:
deb http://download.proxmox.com/debian jessie pve-no-subscription
And installed the following packages:

Code: Select all

$ sudo apt-get install libzfs2 zfs-initramfs zfsutils spl
Now ZFS works like a charm (again) :D
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply