Page 1 of 1

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

Posted: Mon Oct 17, 2016 2:12 am
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