I have a new installation of Proxmox 5.3, and have attached a FreeNAS to it using ZFS over iSCSI. When I try to just use iSCSI it does not connect properly.
Everything seems to go right until I try to create a VM on the FreeNAS. On the one hand it appears to create it, and then it also gives an error and dies... See the message and screenshot below. It shows the disks created, but I can't remove them. Any ideas?
Thanks in advance!
The error:
sh:1: no such file or directory: /usr/sbin/stmfadm
TASK ERROR: unable to create VM 105 - error with cfs lock 'storage-freenas': command '/usr/bin/ssh -o 'BatchMode=yes' -i /etc/pve/priv/zfs/192.168.121.33_id_rsa root@192.168.121.33 /usr/sbin/stmfadm create-lu -p 'wcd=false' -p 'guid=600144f2279279f6b3e955273f4c6bd7' /dev/zvol/rdsk/Storage/vm-105-disk-0' failed: exit code 127

Everything seems to go right until I try to create a VM on the FreeNAS. On the one hand it appears to create it, and then it also gives an error and dies... See the message and screenshot below. It shows the disks created, but I can't remove them. Any ideas?
Thanks in advance!
The error:
sh:1: no such file or directory: /usr/sbin/stmfadm
TASK ERROR: unable to create VM 105 - error with cfs lock 'storage-freenas': command '/usr/bin/ssh -o 'BatchMode=yes' -i /etc/pve/priv/zfs/192.168.121.33_id_rsa root@192.168.121.33 /usr/sbin/stmfadm create-lu -p 'wcd=false' -p 'guid=600144f2279279f6b3e955273f4c6bd7' /dev/zvol/rdsk/Storage/vm-105-disk-0' failed: exit code 127
