StarWind iSCSI SAN
StarWind Native SAN for Hyper-V
 

Starwind iSCSI initiator:Creation of the iSCSI device failed

Initiator (iSCSI, FCoE, AoE, iSER and NVMe over Fabrics), iSCSI accelerator and RAM disk

Moderators: art (staff), anton (staff), Anatoly (staff), Max (staff)

Starwind iSCSI initiator:Creation of the iSCSI device failed

Postby laibalion » Thu Nov 14, 2013 4:55 pm

Hi,

yesterday I installed Starwind iSCSI initiator and tried to connect to my iSCSI target hosted on my Synology DS1511+.
Unfortunately, it fails to connect and I'm unable to figure out why it doesn't work (the Microsoft iSCSI initiator is able to connect to the target without problems).

This is my setup:
iSCSI LUN:
-name: LUN-1
-Capacity: 2TB
-Thin Provisioning enabled
-Advanced LUN features enabled
-Mapped to iSCSI target: gamestore

iSCSI Target:
-name: gamestore
-IQN: iqn.2000-01.com.synology:DS1511.gamestore
-CHAP authentication: disabled
-Header digest: enabled
-Data digest: enabled
-Multiple sessions: disabled
-Maximum recieve segment bytes: 262144
-Maximum send segment bytes: 4096
-Mapped iSCSI LUN: LUN-1
-Masking (initiator IQN | permissions): Default priviliges | read+write (I haven't set any specific permissions per initiator)

Initiator:
-OS: Windows 8.1 Pro x64
-Starwind iSCSI initiator version: 5.6 build 0x20120426
-StariSCSI driver version: 0x000300001 build 0x20110316


When adding a device, it detects the target on my server just fine (gives me the correct iqn) but at the end it gives me an error "Creation of the iSCSI device failed with all the addresses supplied by the server" and not device is added.
Checking the logs i find this:

11/14 16:56:53.639 >> CLanguager::LoadLanguage(language=0x409)
11/14 16:56:53.641 Failed to query registry ShowSplash value.
11/14 16:56:53.642 >> CStarPortAPI::CStarPortAPI()
11/14 16:56:53.642 >> CStarPortAPI::DriverOpen()
11/14 16:56:53.643 >> CStarPortAPI::DriverVersion(...)
11/14 16:56:53.643 CStarPortAPI::DriverVersion: Calling STARPORT_IOCTL_GET_VERSION
11/14 16:56:53.644 CStarPortAPI::DriverVersion: Calling DeviceIoControl(...)
11/14 16:56:53.644 CStarPortAPI::DriverVersion: Input: ApiVersion = 30001
11/14 16:56:53.645 CStarPortAPI::DriverVersion: Output: Version = 20110316, API = 30001, DriverOpenContext = 0, DriverInstance = FFFFE00001569920
11/14 16:56:53.645 CStarPortAPI::CStarPortAPI: StarWind iSCSI Initiator version: 20091223; StariSCSI driver: API v30001, Build 0x20110316
11/14 16:56:53.645 >> CDriveLetterMap::CDriveLetterMap()
11/14 16:56:53.646 >> CStarPortDoc::CStarPortDoc()
11/14 16:56:53.680 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:53.680 >> CStarPortView::OnInitialUpdate()
11/14 16:56:53.687 >> CStarPortDoc::ResyncRegistryAndDriverContents(bAutomountDevices=1)
11/14 16:56:53.688 >> CStarPortAPI::GetDevices(...)
11/14 16:56:53.688 CStarPortAPI::GetDevices: Calling STARPORT_IOCTL_TARGET_LIST
11/14 16:56:53.689 CStarPortAPI::GetDevices: Output buffer:
11/14 16:56:53.689 CStarPortAPI::GetDevices: NumberOfTargets = 0
11/14 16:56:53.701 CStarPortApp::InitInstance: Showing mainform.
11/14 16:56:54.081 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:54.482 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:54.884 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:55.285 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:55.687 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:56.088 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:56.489 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:56.890 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:57.291 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:57.692 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:58.093 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:58.494 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:58.895 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:59.295 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:56:59.696 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:00.097 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:00.498 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:00.900 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:01.301 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:01.702 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:02.103 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:02.503 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:02.904 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:02.923 >> CStarPortAPI::GetTargets(dwIPAddress=0xAC100014, DWORD dwPort=3260, listTargets=...)
11/14 16:57:02.924 CStarPortAPI::GetTargets: Calling STARPORT_IOCTL_GET_TARGETS
11/14 16:57:02.924 CStarPortAPI::GetTargets: Input buffer:
11/14 16:57:02.924 CStarPortAPI::GetTargets: ServerAddress = #iscsi:172.16.0.20:3260
11/14 16:57:02.925 CStarPortAPI::GetTargets: Parameter[0] = InitiatorName=iqn.2003-06.com.starwindsoftware:geert-desktop
11/14 16:57:02.941 CStarPortAPI::GetTargets: Output buffer:
11/14 16:57:02.943 CStarPortAPI::GetTargets: TargetsInfo[0] = TargetName=iqn.2000-01.com.synology:ds1511.gamestore
11/14 16:57:02.943 CStarPortAPI::GetTargets: TargetsInfo[1] = TargetAddress=172.16.0.20:3260,0
11/14 16:57:02.943 >> CStarPortAPI::AddTargetToList(target=..., listTargets=...)
11/14 16:57:02.944 CStarPortAPI::GetTargets: Server at IP:0xAC100014, Port:3260 returned the following targets:
11/14 16:57:02.944 CStarPortAPI::GetTargets: TargetName:iqn.2000-01.com.synology:ds1511.gamestore
11/14 16:57:02.945 CStarPortAPI::GetTargets: TargetAddress: IP:0xAC100014, Port:3260
11/14 16:57:03.305 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:03.707 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:04.108 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:04.510 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:04.528 CWPPiSCSITargetSelection::CreateDevice: Trying to add an iSCSI device using TargetName=iqn.2000-01.com.synology:ds1511.gamestore, IP:0xAC100014, Port:3260
11/14 16:57:04.528 >> CStarPortAPI::CStarPortAPI()
11/14 16:57:04.529 >> CStarPortAPI::DriverOpen()
11/14 16:57:04.529 >> CStarPortAPI::DriverVersion(...)
11/14 16:57:04.530 CStarPortAPI::DriverVersion: Calling STARPORT_IOCTL_GET_VERSION
11/14 16:57:04.530 CStarPortAPI::DriverVersion: Calling DeviceIoControl(...)
11/14 16:57:04.530 CStarPortAPI::DriverVersion: Input: ApiVersion = 30001
11/14 16:57:04.531 CStarPortAPI::DriverVersion: Output: Version = 20110316, API = 30001, DriverOpenContext = 0, DriverInstance = FFFFE00001569920
11/14 16:57:04.531 CStarPortAPI::CStarPortAPI: StarWind iSCSI Initiator version: 20091223; StariSCSI driver: API v30001, Build 0x20110316
11/14 16:57:04.532 >> CStarPortDoc::CreateiSCSIDevice(IP=0x2DF32C8, Port=3260, TargetName=iqn.2000-01.com.synology:ds1511.gamestore, Flags=1)
11/14 16:57:04.533 >> CStarPortAPI::InsertiSCSIDevice(dwIPAddress=0xAC100014, dwPort=3260, szInitiaotrName=iqn.2003-06.com.starwindsoftware:geert-desktop, szTargetName=iqn.2000-01.com.synology:ds1511.gamestore, szAdditionalParameter=, nTargetID=...)
11/14 16:57:04.533 CStarPortAPI::InsertiSCSIDevice: Calling STARPORT_IOCTL_TARGET_MOUNT
11/14 16:57:04.534 CStarPortAPI::InsertiSCSIDevice: Input buffer:
11/14 16:57:04.534 CStarPortAPI::InsertiSCSIDevice: Flags = 1
11/14 16:57:04.535 CStarPortAPI::InsertiSCSIDevice: ServerAddress = #iscsi:172.16.0.20:3260
11/14 16:57:04.535 CStarPortAPI::InsertiSCSIDevice: Parameter[0] = InitiatorName=iqn.2003-06.com.starwindsoftware:geert-desktop
11/14 16:57:04.535 CStarPortAPI::InsertiSCSIDevice: Parameter[1] = TargetName=iqn.2000-01.com.synology:ds1511.gamestore
11/14 16:57:04.547 CStarPortAPI::InsertiSCSIDevice: Session failed, status == 1326 !
11/14 16:57:04.548 >> CStarPortAPI::~CStarPortAPI()
11/14 16:57:04.548 CWPPiSCSITargetSelection::CreateDevice: Exception caught: Logon to the server failed.
11/14 16:57:04.549 CWPPiSCSITargetSelection::CreateDevice: Failed to connect to create iSCSI device using TargetName=iqn.2000-01.com.synology:ds1511.gamestore, IP:0xAC100014, Port:3260
11/14 16:57:04.549 CWPPiSCSITargetSelection::CreateDevice: Creation of the iSCSI device failed with all the addresses supplied by the server.
11/14 16:57:04.550 CWPPiSCSITargetSelection::CreateDevice: Exception caught: Creation of the iSCSI device failed with all the addresses
supplied by the server.
11/14 16:57:04.911 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:05.312 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:05.714 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:06.115 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:06.516 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:06.917 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:07.318 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:07.720 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:08.121 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:08.522 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:08.923 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:09.324 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:09.725 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:10.126 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:10.528 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:10.929 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:11.330 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:11.730 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:12.132 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:12.533 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:12.933 CMainFrame::PoolingServiceEvents: Event checking failed, status == 2
11/14 16:57:12.941 >> CDriveLetterMap::~CDriveLetterMap()
11/14 16:57:12.942 >> CStarPortAPI::~CStarPortAPI()

Any help is appreciated.

-Geert-
laibalion
 
Posts: 1
Joined: Thu Nov 14, 2013 4:36 pm

Re: Starwind iSCSI initiator:Creation of the iSCSI device failed

Postby anton (staff) » Thu Nov 14, 2013 9:53 pm

That's the wrong group (target) and we don't support iSCSI initiator in production anymore.

Please use MS iSCSI initiator and bug MSFT support with the initiator related issues.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
anton (staff)
Site Admin
 
Posts: 3935
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands


Return to StarWind NVMe-oF Initiator, StarWind iSCSI Accelerator, StarWind RAM Disk

Who is online

Users browsing this forum: No registered users and 1 guest