I rechecked my iSCSI configuration but could not find any issues with it. Other than not giving me the DHCP device option it works flawlessly, so I don't think there is a configuration issue from my part.
I also tried to recreate my network interfaces. I deleted them from the web UI and then switched to the main console via IPMI. In the network section I resetted both devices, configured them anew and added them in the Web UI again. Still no luck with the DHCP interface in the portal.
At that point I gave up and just assigned a static IP address to igb0. The static IP then worked as expected and I could add both interface to the portal. Finally my MPIO test could begin.
Erm.. nope. It could not. I had to learn that MPIO is not supported by the Windows 7 iSCSI initiator I wanted to use.
But luckily there is a poor mans MPIO available in Windows 7. It's called Multiple Connected Sessions (MCS) and part of the iSCSI RFC. It's basically MPIO-by-the-initiator (in contrast to real MPIO which is MPIO-by-the-kernel).
So I gave MCS a run then. Unfortunately this did not work with the new ctl target I have been using in FreeNAS.
As it turns out ctl does not allow for multiple connections per sessions.
I checked the
ctld.conf for some options to configure more connections. I tried to set
maxproc number
The limit for concurrently running child processes handling incoming connections. The default is 30. A setting of 0 disables the limit.
Global options:
num_threads
Specifies number of backend threads to use for this LUN.
but could not get ctl to allow multiple connections in the end.
When I switched the target in FreeNAS to istgt, then multiple connections per session were possible (default: 8). However, the results with istgt were pretty sucky. With 2 round-robin connections and multi-threading it was still slower than ctl with a single connection.
Setup: FreeNAS --(iscsi)--> Windows 7 --(device)--> Windows 7 @ VMWare Workstation
conclusions and open questions:
- M$ sucks for intentionally crippling the W7 initiator
- I suspect my config DB contains some garbage when it comes to iSCSI configuration. I get the weird DHCP interface behavior and I found an orphaned auth group in the ctl.conf that is not listed in the UI.
- Can someone provide information if (and how) it is possible to use multiple connections in ctl?
- istgt is slower than ctl