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

krikey

Renowned Member
Aug 15, 2018
142
31
68
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?
 
  • Like
Reactions: Treptower
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>