I am trying to use a FreeNAS server for shared storage in a 3-node Proxmox cluster to enable HA and live migration. The iSCSI target is set up on a ZFS pool of 4 identical enterprise-grade SSD's and is reporting "healthy" in FreeNAS. I followed the helpful instructions here:
https://forum.proxmox.com/threads/guide-setup-zfs-over-iscsi-with-pve-5x-and-freenas-11.54611/
Proxmox is successfully connecting to the ZFS over iSCSI object when I add in Datacenter > Storage. It shows as "enabled" and "active" on each individual node in the cluster.
However, whenever I try to create a VM using it as storage, I am receiving the following error:
When I log into FreeNAS, I can see that a VM (zvol) has created on the pool with the name and VM ID I supplied, but it does not get past that. That zvol is only a few KiB in size. Given that the error is saying it cannot find a target id, I checked to make sure I have targets set up and (at least according to my understanding from the FreeNAS online guide) I think I have one set up properly.
Any suggestions out there for what I am doing wrong? Proxmox and FreeNAS details are below:
Proxmox
CPU(s)
40 x Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz (2 Sockets)
Kernel Version
Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200)
PVE Manager Version
pve-manager/6.0-4/2a719255
FreeNAS
OS Version:
FreeNAS-11.2-U6
(Build Date: Sep 17, 2019 0:16)
Processor:
Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz (40 cores)
Memory:
96 GiB
HostName:
freenas1.example.net
Any suggestions are greatly appreciated!
https://forum.proxmox.com/threads/guide-setup-zfs-over-iscsi-with-pve-5x-and-freenas-11.54611/
Proxmox is successfully connecting to the ZFS over iSCSI object when I add in Datacenter > Storage. It shows as "enabled" and "active" on each individual node in the cluster.
However, whenever I try to create a VM using it as storage, I am receiving the following error:
TASK ERROR: unable to create VM 8437 - error with cfs lock 'storage-custom-name-iSCSI': Unable to find the target id for iqn.custom-name.net.freenas.ctl at /usr/share/perl5/PVE/Storage/LunCmd/FreeNAS.pm line 149.
When I log into FreeNAS, I can see that a VM (zvol) has created on the pool with the name and VM ID I supplied, but it does not get past that. That zvol is only a few KiB in size. Given that the error is saying it cannot find a target id, I checked to make sure I have targets set up and (at least according to my understanding from the FreeNAS online guide) I think I have one set up properly.
Any suggestions out there for what I am doing wrong? Proxmox and FreeNAS details are below:
Proxmox
CPU(s)
40 x Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz (2 Sockets)
Kernel Version
Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200)
PVE Manager Version
pve-manager/6.0-4/2a719255
FreeNAS
OS Version:
FreeNAS-11.2-U6
(Build Date: Sep 17, 2019 0:16)
Processor:
Intel(R) Xeon(R) CPU E5-2470 v2 @ 2.40GHz (40 cores)
Memory:
96 GiB
HostName:
freenas1.example.net
Any suggestions are greatly appreciated!