Problems booting proxmox 3.4 + zfs raid 1

lucaprete

New Member
Aug 12, 2015
4
0
1
Hello guys,


I've a quite big problem at boot. I've just installed a proxmox 3.4 with ZFS - raid1.


At some point - honestly a little bit confused by this
https://pve.proxmox.com/wiki/Storage:_ZFS


I decided to install the zfs utils
apt-get install zfsutils

since I wasn't able to find /etc/modprobe.d/zfs.conf

Just after the installation I saw a message very similar to "generating initramfs..."

Just after rebooting the server, I discovered that I cannot boot any more.

I believe there was a problem created by the update, since whenever command I run, I get a message in the following format:

zpool: symbol lookup error: zpool: undefined symbol: libzfs_error_init


Please, note that zpool is just an exmple...but this is true for any zfs command that I try to run..Any idea on how I can get out of this horrible situation?

I've a bunch of VMs there...

Thanks,

Luca
 
Well Luca, did you fix the problem yet ?

I am facing the same issue on a proxmox 3.4 install that was upgraded from 3.3 (it had zfsonlinux installed previously too, but using the official wheezy repository and not the proxmox one).

After upgrade to 3.4 and installing zfsutils from the proxmox repository, I too face the same error (the install is clean. no traces of the old zfsonlinux packages):

ii libzfs2 0.6.4-1.2-1-wheezy amd64 Native ZFS filesystem library for Linux
ii zfsutils 0.6.4-4~wheezy amd64 command-line tools to manage ZFS filesystems

Now, there's an old bug files in zfsonlinux for the same error, but it seems corrected in 0.6.3.something (!) while we're on 0.6.4

UPDATE: I fixed my issue. The problem was a mix-match of libraries from the official zfs and the proxmox repositories. A purge of all libraries and a reinstall from the proxmox repos did the trick. You can do that with dpkg -P --force-all ...
 
Last edited:
Thanks Jinjer,

No honestly I didn't. I just succeeded to migrate the VM disks on it to another machine, mounting the ZFS volumes on another proxmox machine. It has been a pain, but I succeeded to recover everything.
Anyway, good to know you fixed the issue running that command. Just a curiosity. Were you able to run this in initrd? It would seem me strange..

Luca
 
Sorry for the late reply. No I used a live CD to run commands. Initrd has no packaging tools in it.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!