[SOLVED] proxmox failed to start import zfs pool {pool name}

krikey

Well-Known Member
Aug 15, 2018
115
21
58
UK
I recently removed all the zfs pools from the GUI in PVE 7.2.11 and there are none showing now in the GUI, however during boot there is a delay and I get the following errors:

Code:
proxmox failed to start import zfs pool {poolname}

I have a number of these message referring to old pools that were set up before I removed them all. How do I clear these errrors?
 
Hi,
you might also want to check ls /etc/systemd/system/zfs-import.target.wants/ and for each obsolete entry, run systemctl disable zfs-import@<poolname>.service. This is done automatically if you use the /nodes/{node}/disks/zfs/{name} endpoint to delete the storage or do it via [Node] > Disks > ZFS > More > Destroy in the UI.
 
  • Like
Reactions: krikey
Thanks apoc/fiona,

Code:
systemctl disable zfs-import@<poolname>.service

seems to have cleared out all the old pools now and I then recreated the cache file by using...

Code:
zpool set cachefile=/etc/zfs/zpool.cache <poolname>
 

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!