zfs error: cannot open 'local-zfs': no such pool

sapanovskiy

Member
Nov 16, 2022
2
0
6
help me to fix VM or CT migration error
2023-05-25 23:21:14 ERROR: could not activate storage 'pmv-master-zfs', zfs error: cannot import 'local-zfs': no such pool available
2023-05-25 23:21:14 aborting phase 1 - cleanup resources
2023-05-25 23:21:14 start final cleanup
2023-05-25 23:21:14 start container on source node
2023-05-25 23:21:16 ERROR: migration aborted (duration 00:00:07): could not activate storage 'pmv-master-zfs', zfs error: cannot import 'local-zfs': no such pool available
TASK ERROR: migration aborted
 

Attachments

  • Снимок экрана 2023-05-26 в 00.09.07.png
    Снимок экрана 2023-05-26 в 00.09.07.png
    111.6 KB · Views: 23
  • Снимок экрана 2023-05-26 в 00.10.24.png
    Снимок экрана 2023-05-26 в 00.10.24.png
    372.9 KB · Views: 25
Hi,
sounds like the target node does not have a ZFS pool with the name local-zfs. Is it supposed to exist on the target node? What does zpool status on the target node show? Are there any errors in /var/log/syslog, again on the target node?
 
You could re-import the pool with the same name on both nodes. In any case, you need to make sure the storage configuration in Datacenter > Storage is correct. You need to make sure that each storage is restricted to the nodes where the configured pool is actually available.
 
  • Like
Reactions: Piero