[SOLVED] apt-get upgrade problem with zfsutils 0.6.4

ckx3009

New Member
Feb 18, 2014
21
0
1
Hello,

I'm having an issue while upgrading zfsutils at the last version.
The problem appears to be the same as the thread http://forum.proxmox.com/threads/23002-After-Upgrade-ZFS-pool-gone?p=116703&posted=1


I issued the apt-get update, synced the repos without any error, then issued apt-get upgrade, and while updating the last packages I got the error on zfsutils

Code:
etting up zfsutils (0.6.4-4~wheezy) ...
insserv: There is a loop between service zfs-mount and zfs-zed if stopped
insserv:  loop involving service zfs-zed at depth 5
insserv:  loop involving service zfs-import at depth 4
insserv:  loop involving service umountfs at depth 7
insserv:  loop involving service zfs-mount at depth 15
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing zfsutils (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zfs-initramfs:
 zfs-initramfs depends on zfsutils; however:
  Package zfsutils is not configured yet.

dpkg: error processing zfs-initramfs (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-40-pve
Errors were encountered while processing:
 zfsutils
 zfs-initramfs
E: Sub-process /usr/bin/dpkg returned an error code (1)

I still have to reboot the machine after the upgrade but I actually cannot suffer a down of many hours.


My configuration consist in a single raidz-3 pool with 9 disks, shared between data and VM disks.

the solution in the thread I linked before was not useful for me, so I am still facing the problem.

Thank you in advance
Best regards
 
Last edited:
Just had the same issue myself and apparently fixed it. This was related to the ZFS mounting workaround
pve.proxmox.com /wiki/Storage:_ZFS
and specifically adding zfs-mount to the local_fs target. The new zfsutils introduced extra scripts - zfs-import, zfs-zed, and that's what we have - zfs-mount now depends on zfs-import, zfs-import depends on zfs-zed and zfs-zed depends on local-fs target which includes zfs-import, for we told it so.

What I've done in my system to solve this is a) remove zfs-mount from local_fs definition in /etc/insserv.conf ; b) Update the new zfs-mount with "Default-Start: S" and "chkconfig: S 06 99", after which everything ran smoothly.
 
Hi mpond,

as you said it was due to the zfs mounting workaround, with the changes you suggested I was able to complete the update and reboot the machine without any trouble.

So the thread is solved, thanks to you.

Thank you very much again!
Best regards
 

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!