We are working on setting up a ZFS to iSCSI share on Freenas. We have the SSH keys setup up, installed the patches, and set up the zfs to iscsi share in proxmox. It appears to be connected is showing as available and reports the correct available storage. However, when we attempt to move the hard drive of a VM from the current location to the new storage, we receive the following error:
Can anyone provide insight into the cause of the problem and hopefully a resolution? We have looked all over and have not been able to find a solution.
Code:
create full clone of drive scsi0 (Jarhead-Virtual:201/vm-201-disk-0.raw)
iscsiadm: No session found.
transferred: 0 bytes remaining: 33554432 bytes total: 33554432 bytes progression: 0.00 %
qemu-img: Could not open 'file.driver=iscsi,file.transport=tcp,file.initiator-name=iqn.1993-08.org.debian:01:cc69eb10e3cb,file.portal=10.0.1.4,file.target=iqn.2005-10.org.freenas.ctl:proxmox-iscsi-lab,file.lun=0,driver=raw': iSCSI: Failed to connect to LUN : iscsi_service failed with : iscsi_service_reconnect_if_loggedin. Can not reconnect right now.
TASK ERROR: storage migration failed: copy failed: command '/usr/bin/qemu-img convert -p -n -f raw --target-image-opts /mnt/pve/Jarhead-Virtual/images/201/vm-201-disk-0.raw 'file.driver=iscsi,file.transport=tcp,file.initiator-name=iqn.1993-08.org.debian:01:cc69eb10e3cb,file.portal=10.0.1.4,file.target=iqn.2005-10.org.freenas.ctl:proxmox-iscsi-lab,file.lun=0,driver=raw'' failed: exit code 1
Can anyone provide insight into the cause of the problem and hopefully a resolution? We have looked all over and have not been able to find a solution.
Last edited: