iSCSI LUN not being seen in ESXI/vSphere

Software-based VM-centric and flash-friendly VM storage + free version

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

Post Reply
goldserve
Posts: 11
Joined: Tue Jan 02, 2018 4:44 pm

Tue Jan 02, 2018 6:15 pm

I am trying Starwind Virtual San Free on two ESXI compute nodes.

I set up Hyper-V 2016 as a VM on each ESXI machine and installed Starwind software as "Starwind Virtual SAN Service". I successfully set up HA between the two nodes and exported a 256GB LUN. When I add the two servers in vSphere under "Dynamic Discovery Targets", I see ESXI properly discovering the target under "Path" and the target address matches what was exported by Starwind software. When I go to Devices, I rescan and rescan but do not see the LUN.

Here is what I have done to debug:

1) ESXI hosts can ping the Hyper-V Ms
2) Turned off firewall in Hyper-V using "netsh advfirewall currentprofile state off"
3) Used a third Windows10 VM and Microsoft iSCSI Initiator to connect to iSCSI target and I can connect and see the LUN in Drive Manager

Thanks for looking!
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Wed Jan 03, 2018 9:27 am

After having discovered the paths, your steps in the previous post miss creating a datastore. Did you do this before trying to rescan to be able to see the LUN?
goldserve
Posts: 11
Joined: Tue Jan 02, 2018 4:44 pm

Wed Jan 03, 2018 7:07 pm

Yes, I tried creating a datastore using the vsphere web client. New Datastore -> VMFS -> Select host with available Disks/LUNs and I see nothing there. Tried this on multiple ESXI instances and no luck but it seems like microsoft iscsi initiator can see it no problem. Any other settings I need for ESXI? Should I try to change ports?
goldserve
Posts: 11
Joined: Tue Jan 02, 2018 4:44 pm

Wed Jan 03, 2018 9:45 pm

Solved! Sector size was set to 4096 when esxi expects 512 only.
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Thu Jan 04, 2018 8:18 am

Hi goldserve,
Yes, you should select 512 sector size for ESXi.
Glad to hear the issue is solved :)
Post Reply