I’m having a really hard time trying to get my PR4100 to connect to a FreeNAS iSCSI target.
I got it to work once after I configured it then restart both the PR4100 and my FreeNAS box. I now removed that config (as it was just for testing) and created a new target on the FreeNAS box and now it just won’t connect no matter how many times I reboot the boxes.
I can configure it fine and select the LUN and the share folder but it stays in a “disconnected” state and doesn’t change.
I’ve tested this from Windows and it works flawlessly and as I mentioned I had this working previously.
I found the log for this in the temp folder, and it shows the following:
[virtual_vol.c:75][Target Search] - cmd:vvctl --search -i "192.168.1.20" -p "3260" -o /var/www/xml/vv_search.xml > /dev/null 2>&1
[virtual_vol.c:128][LUN Search] - cmd:vvctl --search_lun -n "iqn.2005-10.org.freenas.ctl:target-0" -i "192.168.1.20" -p "3260" -c "0" -o /var/www/xml/vv_search.xml > /dev/null 2>&1
[virtual_vol.c:168][Share Name Check] - cmd:vvctl --check_share_name -s "zfs" > /dev/null 2>&1
[virtual_vol.c:229][Create] - cmd:vvctl --add -n "iqn.2005-10.org.freenas.ctl:target-0" -l "0" -i "192.168.1.20" -p "3260" -s zfs -c "0" > /dev/null 2>&1
[virtual_vol.c:75][Target Search] - cmd:vvctl --search -i "192.168.2.1" -p "3260" -o /var/www/xml/vv_search.xml > /dev/null 2>&1
[virtual_vol.c:304][Target Connected] - cmd:vvctl --connect -n "iqn.2005-10.org.freenas.ctl:target-0" > /dev/null 2>&1 &
[virtual_vol.c:619][Refresh] - cmd:vvctl --status > /dev/null 2>&1
[virtual_vol.c:304][Target Connected] - cmd:vvctl --connect -n "iqn.2005-10.org.freenas.ctl:target-0" > /dev/null 2>&1 &
[virtual_vol.c:619][Refresh] - cmd:vvctl --status > /dev/null 2>&1
If I try to send the connect command as in the log it shows the following:
root@MyCloudPR4100 /tmp # vvctl --connect -n "iqn.2005-10.org.freenas.ctl:target-0"
New iSCSI node [tcp:[hw=,ip=,net_if=,iscsi_if=default] 192.168.1.20,3260,-1 iqn.2005-10.org.freenas.ctl:target-0] added
Logging out of session [sid: 6, target: iqn.2005-10.org.freenas.ctl:target-0, portal: 192.168.1.20,3260]
Logout of [sid: 6, target: iqn.2005-10.org.freenas.ctl:target-0, portal: 192.168.1.20,3260] successful.
execute failed.
All output from the vvctl
command ends with execute failed
(even a vvctl --help
) - I don’t know if this should be happening.
Would really like to have this working again.
TiA