freenascod
Cadet
- Joined
- Jul 2, 2012
- Messages
- 4
Hello guys,
I've got a FreeNAS-8.2.0-BETA4-x64 (r11722) server set up in my environment. I have several iSCSI targets set up on this machine. These targets are accessibly from Windows boxes via the Microsoft iSCSI initiator and everything seems to be working well there.
What I'm trying to do now is use an iSCSI target as storage in ESXi so that I can store virtual machines on it. I've followed the guides and everything appears to be set up correctly, but when I scan to find/connect-to targets I am never able to connect. ESXi SEES the targets. But when I scan the freeNAS server for storage I see the following messages appear in the console:
Jul 2 09:36:32 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-f,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:33 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:33 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:34 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:34 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:35 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:35 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-l,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:36 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:36 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-l,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:37 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:37 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-new-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:38 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:38 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-new-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:39 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:39 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:vmh01-appclient,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:40 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:40 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:vmh01-appclient,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:41 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:41 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:o-target,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
For every target I have in the system. Now only the bolded one is the target I want to connect to. I set the authentication for this to be the same as the authentication for the server itself, and since ESXi can log in and discover the targets on the server, I would assume everything would be correct there. It looks like I'm not alone in this problem either, as I've found this thread where people are having the same issue I am:
http://forums.freenas.org/showthread.php?1881-ESXi-5-0-use-FreeNAS-iSCSI-target-issue/page2
But I'm far past the version of FreeNAS they were using in that post. Does anyone have any insight into why this could be happening? Any help would be GREATLY appreciated. Thanks!
I've got a FreeNAS-8.2.0-BETA4-x64 (r11722) server set up in my environment. I have several iSCSI targets set up on this machine. These targets are accessibly from Windows boxes via the Microsoft iSCSI initiator and everything seems to be working well there.
What I'm trying to do now is use an iSCSI target as storage in ESXi so that I can store virtual machines on it. I've followed the guides and everything appears to be set up correctly, but when I scan to find/connect-to targets I am never able to connect. ESXi SEES the targets. But when I scan the freeNAS server for storage I see the following messages appear in the console:
Jul 2 09:36:32 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-f,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:33 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:33 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:34 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:34 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:35 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:35 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-l,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:36 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:36 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-l,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:37 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:37 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-new-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:38 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:38 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:cubesrv-new-i,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:39 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:39 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:vmh01-appclient,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
Jul 2 09:36:40 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:40 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:vmh01-appclient,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000002)
Jul 2 09:36:41 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c: 777:istgt_iscsi_write_pdu_internal: ***ERROR*** iscsi_write() failed (er
rno=32)
Jul 2 09:36:41 atlprdnsfreenas1 istgt[4243]: istgt_iscsi.c:4984:sender: ***ERROR*** iscsi_write_pdu() failed on iqn.atlprdnsfreenas1
.ins.incomm.com:o-target,t,0x0001(iqn.1998-01.com.vmware:atlprdnsvmh01-22262620,i,0x00023d000001)
For every target I have in the system. Now only the bolded one is the target I want to connect to. I set the authentication for this to be the same as the authentication for the server itself, and since ESXi can log in and discover the targets on the server, I would assume everything would be correct there. It looks like I'm not alone in this problem either, as I've found this thread where people are having the same issue I am:
http://forums.freenas.org/showthread.php?1881-ESXi-5-0-use-FreeNAS-iSCSI-target-issue/page2
But I'm far past the version of FreeNAS they were using in that post. Does anyone have any insight into why this could be happening? Any help would be GREATLY appreciated. Thanks!