If you make a google search to install iscsi target and initiator on a debian machine, you will end up on this howtoforge link. Most propably your problem should solve here. But when you need iscsi to work with windows 2008 server Persistent (SCSI-3) Reservations then you might catch up some problems and of course that’s what happened to me.
NOTE: This article mentioned below is just my case study. I don’t guarentee any results though. Follow the proceedure on your own risk.
I had a debian server with iscsitarget installed and I tried to make a cluster with the disks given to windows 2008 server. The clustering failed because iscsitarget doesn’t support Persistent (SCSI-3) Reservations.
So, I checked out the internet and participated in various discussions around and concluded that there are couple of things I should try and install on linux machines that support Persistent Reservations (SCSI3) for windows 2008 clustering.
Many people say that using any one of them as your target should fix your persistent (SCSI-3) reservations problem for Windows 2008 clustering.
I could not install both (linux-iscsi) and scst on latest version of debian machine (squeeze) and also on lenny. The standard installation guide doesn’t work, hitting lots of errors. Will have to trouble shoot things tomorrow.
Freenas works perfectly fine for windows 2008 clustering. I tested it and it worked. For more info and to download freenas, you should check this out.
If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!