All,
- I re-did a lot of the networking on my cluster and appear to have successfully changed everything over to ZFS-over-ISCSI using LACP and Linux bonded interfaces for some throughput improvement and redundancy.
- I am connecting to a FreeNAS cluster using GrandWazoo's ZFS-over-ISCSI patch https:// github.com/ TheGrandWazoo/ freenas-proxmox
- When I changed all the networking over, I had one VM already on the FreeNAS device. That device starts up with no issue:
- root@proxmox1:~# qm start 100
Rescanning session [sid: 1, target: iqn.target-1.com.freenas.ctl:training1, portal: 192.168.8.224,3260]
Rescanning session [sid: 1, target: iqn.target-1.com.freenas.ctl:training1, portal: 192.168.8.224,3260]
root@proxmox1:~#
- I am getting great throughput on LACP 10GbE NIC's:
- The problem arises when starting a new VM I have created. Through the Proxmox GUI, I can create a VM on the FreeNAS device with no issues (the extant and virtual disks all appear in FreeNAS):
- The problem arises when trying to start that VM, cannot connect to the LUN (in this case 2 as highlighted):
Rescanning session [sid: 1, target: iqn.target-1.com.freenas.ctl:training1, portal: 192.168.8.224,3260]
Rescanning session [sid: 1, target: iqn.target-1.com.freenas.ctl:training1, portal: 192.168.8.224,3260]
kvm: -drive file=iscsi://192.168.8.224/iqn.target-1.com.freenas.ctl:training1/2,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on: iSCSI: Failed to connect to LUN : SENSE KEY:ILLEGAL_REQUEST(5) ASCQ:LOGICAL_UNIT_NOT_SUPPORTED(0x2500)
TASK ERROR: start failed: QEMU exited with code 1
- The LUN of the VM that already existed and still starts up no problem is 1. A separate VM with LUN 0 has had the same issues above.