[SOLVED] could not activate storage 'zpool'

Valerio Pachera

Active Member
Aug 19, 2016
131
6
38
43
Hi all, I run 'aptitude safe-upgrade' on my proxmox/debian jessie.
After that I wasn't able to start my guests.
I was getting this error:

cannot import 'zfspool001': one or more devices are already in use
TASK ERROR: could not activate storage 'zpool', zfs error: exit code 1

I found out that the pool was getting automatically mounted on /zfspool001 making it unavailable for proxmox.
To fix this issue in run time

zfs umount zfspool001

To avoid mounting it at boot time

nano /etc/default/zfs
ZFS_MOUNT='no'
ZFS_UNMOUNT='no'

Hope this may help.
 
Thank you for your reply.
I'll follow your suggestion.
It shouldn't that different 'aptitude safe-upgrade vs apt-get dist-upgrade'

On my server I run also dist-upgrade after the safe-upgrade and it did nothing.

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.