Hi,
What kind of driver I have to develope to have an iSCSI target in windows? For my quick reading I know that since windows vista, iSCSI initiator is included in the OS, but I don’t see anything about the target.
In general what I have to develope to have a remote disk like a local disk using iSCSI.
I need to say yes or no to my client, later I will ask for development details
Thanks in advance.
You don’t need a kernel mode driver at all. It can be done by writing a
socket server to implement the server side requirements as stated in RFC
3720. At very high level, the app will listen on port 3260. It reads from
local disk and feeds to the socket when it receives an iSCSI read request
and does the reverse for write.
Of course, a sophisticated target takes time to get mature. There are plenty
of them in the market. The linux IET is kernel mode target. The iscsi-target
in NetBSD/FreeBSD are user mode only. The source code is freely available
and is under the enterprise friendly BSD license. You can get an idea on how
this can be done. The BSD one are as mature as IET but it’s very useable.
OpenSolaris ships a ZFS backed iscsi target which is ridiculously easy to
setup and maintain. There are some Windows targets too.
Good luck,
Calvin
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmx.com
Sent: Monday, September 13, 2010 12:43 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] iSCSI target development
Hi,
What kind of driver I have to develope to have an iSCSI target in windows?
For my quick reading I know that since windows vista, iSCSI initiator is
included in the OS, but I don’t see anything about the target.
In general what I have to develope to have a remote disk like a local disk
using iSCSI.
I need to say yes or no to my client, later I will ask for development
details
Thanks in advance.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Corrected a typo— I meant to say:
The BSD one are *NOT* as mature as IET but it’s very useable.
-----Original Message-----
From: Calvin Guan [mailto:xxxxx@gradovec.com]
Sent: Monday, September 13, 2010 1:19 PM
To: ‘Windows System Software Devs Interest List’
Subject: RE: [ntdev] iSCSI target development
You don’t need a kernel mode driver at all. It can be done by writing a
socket server to implement the server side requirements as stated in RFC
3720. At very high level, the app will listen on port 3260. It reads from
local disk and feeds to the socket when it receives an iSCSI read request
and does the reverse for write.
Of course, a sophisticated target takes time to get mature. There are plenty
of them in the market. The linux IET is kernel mode target. The iscsi-target
in NetBSD/FreeBSD are user mode only. The source code is freely available
and is under the enterprise friendly BSD license. You can get an idea on how
this can be done. The BSD one are as mature as IET but it’s very useable.
OpenSolaris ships a ZFS backed iscsi target which is ridiculously easy to
setup and maintain. There are some Windows targets too.
Good luck,
Calvin
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmx.com
Sent: Monday, September 13, 2010 12:43 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] iSCSI target development
Hi,
What kind of driver I have to develope to have an iSCSI target in windows?
For my quick reading I know that since windows vista, iSCSI initiator is
included in the OS, but I don’t see anything about the target.
In general what I have to develope to have a remote disk like a local disk
using iSCSI.
I need to say yes or no to my client, later I will ask for development
details
Thanks in advance.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Thanks a lot!!!
Will make sense to make a kernel mode target for windows???
The kernel part is the reason for the client to contact me.
You don’t need any drivers whatsoever. You should do it all in user
mode, it’s just as fast and a lot easier to add complex functionality.
Even the Microsoft iSCSI target in the Storage Server is a user mode
app. Which leads to the question, why can’t your client use WUDSS if
they insist on Windows being the target o/s for the host ?
Mark.
At 20:42 13/09/2010, xxxxx@gmx.com wrote:
Hi,
What kind of driver I have to develope to have an iSCSI target in
windows? For my quick reading I know that since windows vista, iSCSI
initiator is included in the OS, but I don’t see anything about the target.
In general what I have to develope to have a remote disk like a
local disk using iSCSI.
I need to say yes or no to my client, later I will ask for
development details
Thanks in advance.
At 21:40 13/09/2010, xxxxx@gmx.com wrote:
Thanks a lot!!!
Will make sense to make a kernel mode target for windows???
The kernel part is the reason for the client to contact me.
No sense whatsoever.
>Even the Microsoft iSCSI target in the Storage Server is a user mode
app. Which leads to the question, why can’t your client use WUDSS if
they insist on Windows being the target o/s for the host ?
In my experience, MS iSCSI target has not been robust enough. For example, it would often stop listening on port 3260 of one of the interfaces, thus rejecting all further connections. IET is pretty much bulletproof, though not without its own quirks, such as not canceling IO on LUN reset TMF.
No need in a driver, this can be user mode, and I think there are open-source solutions.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntdev…
> Hi,
> What kind of driver I have to develope to have an iSCSI target in windows? For my quick reading I know that since windows vista, iSCSI initiator is included in the OS, but I don’t see anything about the target.
> In general what I have to develope to have a remote disk like a local disk using iSCSI.
> I need to say yes or no to my client, later I will ask for development details
> Thanks in advance.
>
>